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 slider not working (lost url param)

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.

I write because i have little problem with price filter. Problem is little similar to this topis: https://pluginus.net/support/topic/price-slider-not-working/

I check standard WOOCOMMERCE range price filter and it don't work correctly ( i try find why) but:

When i put shortcode on site with only PRICE FILTER then filter dont work, but if i use additional attribute filter then it work correctly.
i make some test an d find THE CAUSE OF PROBLEM

RANGE PRICE filter give usrl like:
?min_price=470500&max_price=541500
and results is wrong (all prducts are visible)

with and additional atribute filter generate url like:
?woof=1&min_price=470500&max_price=541500&floor=1

when i remove manualy from url additional param like floor:
?woof=1&min_price=470500&max_price=541500

Proce range filter work correctly.

What happen: when use only PRICE RANGED FILTER in URL lost  WOOF=1& param. and its source my problem. Why when i run filter with price range select only this param is not add to url?
This same problem have with redirect shortcode price ranged filter not include woof=1 param in url. if it is all work correctly.

is possible add woof=1 for price-range filter only?

PS: i resolve this problem adding default selected value for all products in product_category for all filters. And any time is added additional parm to url : WOOF=1, and price range filter always work correctly. But still expect some better programmical resolve :) (not any time is good force attribute)

function my_woof_get_request_data($request)
{
$request['product_cat'] = 'mieszkania';
return $request;
}

Hello

your problem is not updated database.

Please  delete  your  customizations  and update database as woocommerce recommends. You can find it in - WooCommetce->Status->Tools  but better ask how to do it in woocommerce support