Support Forum

Content of the article

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

Number slider does not work

This support system is for all types of the plugins as for premium versions, so for free ones! If you have premium version do not forget in the private data of the request (!!not in the text of the support request!!) after its publishing insert purchase code please (see green button on the right side) and press Save button.
If you not got email within 24 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 [] 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 am trying to set up slider-based filters for various dimensions in my store (diameters, thicknesses, etc. -- all made with ACF fields).  The one that I am running as a test does not appear to function properly -- dragging the slider down from the max value does not filter anything out, while dragging it up at all from the min value filters out everything.  The numbers involved are very small (like .005), so I don't know if that has something to do with it or not.  I have changed the range and the step to fit the content.  What am I doing wrong?

Update: I created a test custom product field (via functions.php, to test whether the ACF fields were causing the issue) and populated a couple of products with that info and tried filtering using that, but it still did not work.


I did some  tests!

It looks like the problem is that it is a float  number.

we need a little more time for research. I will write to you as soon as the result is


I have tried a different method on a slightly different URL -- I have added that new URL to the private data.

Basically, I have added new fields where each of those custom field figures are multiplied by 10,000, making them not have long decimals any more.  That method allows the filters to work, so unless you have come up with a more elegant solution (there are some quirks in the UX because of this), I might go that route instead.

Additional question: is there a way to add more content between the various sliders?  I would like to have more wording (beyond what is already there) and styling in between.  Is there a template I can alter, or can I call each slider individually so I can alter the template for the sidebar?

One other thing -- you have another plugin where the slider has number fields that update the min and max values dynamically as the slider is changed.  Is it possible to use that with WOOF?

Thank you for all your help!


I solved this problem.  This will be included in the new version.

You need  to add  this code in functions.php :


return "DECIMAL(5,3)";

the filter is formed in this file - \plugins\woocommerce-products-filter\views\woof.php

Is it possible to use that with WOOF? - Unfortunately not

I appreciate you looking into it!

Unfortunately, after adding that code to functions.php, I didn't see any change in behavior, so for now I plan to go with the method I spelled out before just so I can keep moving on it.  I will keep an eye out for the new version, though.

Again, thank you for your help!


This will work in the new version.

The release of the new version will be soon