PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Price range filter doesn't change for "On Sale" products

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Hello

I have question. I'm using the free Husky plugin.
I'm currently using the prices slider filter. The price range changes correctly accordingly to the selected product category on the menu.

Recently I activated the"On sale checkbox" extencion (https://products-filter.com/extencion/on-sales-checkbox/).
The checkbox appears and it filters the products correctly, but the price range doesn't changes accordingly to the on sale products.
It keeps the same range as the main shop page or the selected category.

Is there a way to fix this?

This is a capture of the store with the on sale checkbox checked.

Thank you in advance.

Hello

At the moment, the plugin changes the price range only when using the filter by taxonomy

But I will forward your suggestion to the developer

Hello, Thank you.

Another question. Is there a way to set the maximum range value? I tried adding"?max_price=10000" to the url, and it's sets the maximun search value, but not the range.

Is there a hook or  function or a shortcode parameter to achieve this?

Thank you.

Hello

Unfortunately  the plugin  does not  have  such  hook.

You can  set  the range  in  file - wp-content\plugins\woocommerce-products-filter\views\woof.php - https://share.pluginus.net/image/i20230614131121.png

Ok. Thank you very much.

Welcome;)

Quote from jlmura on June 14, 2023, 15:19

Ok. Thank you very much.

Hello

New update is going soon and hooks for prices are implemented there: https://share.pluginus.net/image/i20230710140440.png

In file functions.php you will be able to use code:

add_filter('woof_max_price_filter', function ($max) {
return 120;
});

Very useful.

Thank you.

Welcome;)