You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have configurable products with multiple children with have different prices.
When i have a filter by super_attribute and price result comes with all products where price of any child match the prices range, but this can not be price for the selected super_attribute.
Current behaviour:
If i filter by color red and price 10 - 20 result will be: T-Shirts and Jeans.
Because both of them have red colored dress in the mentioned price range.
Expected results in my case: Jeans because only jeans have red dress in the price range 10-20$
Is it possible somehow to achieve the goals?
I'm looking at elasticsearch index and i had an idea to add also child price, but then if few products are in the selected price range and also have selected color they will be in the results, but this not means they are part of one simple product.
Probably i need every child product to be indexed as single entity, but what are the consequences there?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
We have configurable products with multiple children with have different prices.
When i have a filter by
super_attributeand price result comes with all products where price of any child match the prices range, but this can not be price for the selectedsuper_attribute.Example:
Jeans
Color: red, Price: 10$
Color: blue, Price: 20$
Color: indigo, Price: 30$
T-Shirt
Color: red, Price: 5$
Color: blue, Price: 10$
Color: yellow, Price: 20$
Current behaviour:
If i filter by color red and price 10 - 20 result will be:
T-Shirts and Jeans.Because both of them have red colored dress in the mentioned price range.
Expected results in my case:
Jeansbecause only jeans have red dress in the price range 10-20$Is it possible somehow to achieve the goals?
I'm looking at elasticsearch index and i had an idea to add also child price, but then if few products are in the selected price range and also have selected color they will be in the results, but this not means they are part of one simple product.
Probably i need every child product to be indexed as single entity, but what are the consequences there?
Beta Was this translation helpful? Give feedback.
All reactions