Answer the question
In order to leave comments, you need to log in
Filter by price doesn't work for variable products?
What should be done to display the minimum prices of those variants of variable products that satisfy the filter condition by price on the category page.
For example: products (variable) differ in price depending on the size, product cards look like this:
Product 1 (10 - 90 $) --> : Options: 10 | 30 | 50 | 70 | 90
Item 2 ($10 - $200) --> : Options: 10 | 40 | 80 | 150 | 200
Item 3 ($10 - $250) --> : Options: 10 | 50 | 100 | 150 | 250
Now on the category page, when filtering by price "from $45 to $70", the products are displayed as follows:
Product 1 ($10 - 90)
Product 2 ($10 - 200)
Product 3 ($10 - 250)
I.e. in fact, no filtering occurs.
And you need it like this:
Product 1 (50 $) - show the minimum price of a product variant that matches the filter
Product 2 (40 $)
Product 3 (50 $)
Or like this:
Product 1 (50 - 70 $) - show the price range of products that match the filter
Product 2 (40 $)
Product 3 ($50)
Help me out, I searched and searched, I did not find anything on this issue (
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question