O
O
okseo2018-10-31 04:49:59
WooCommerce
okseo, 2018-10-31 04:49:59

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

1 answer(s)
S
Sergey N, 2019-11-06
@neverdome

Googled a little in English and this problem is solved by The Best Price Filter for Woocommerce plugin .
Everything is very simple. If the regular filter is configured, then you just need to download and activate this plugin.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question