- Issue created by @tokosefi
- Status changed to Fixed
over 1 year ago 8:57am 24 September 2023 - 🇦🇹Austria drunken monkey Vienna, Austria
The Search API doesn’t have a concept of products, variations or even entities – it just knows the item it has indexed, and each one is a separate object that is returned independent of any others. I.e., if you want to return each product only once, you need to index products, not variations. I don’t know enough about Commerce internals to help with that, but it’s apparent that variations of your product are indexed as separate items in the Search API, so you have to prevent that from happening. Most likely, this can be done by selecting a different “datasource” in the search index settings, but, again, I don’t know enough about Commerce (or your setup) to be sure.
Automatically closed - issue fixed for 2 weeks with no activity.