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

Which decimal separator to use in a review slider.

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 would like please to know which decimal separator should I use ? Is it a coma (,) or a point (.) because I have a review slider with the following values on the address  Link:

4     4.2     4.4     4.6     4.8    and   5

And it does not seem to recognize the values 4.2, 4.4, 4.6 and 4.8 although there are products with a meta value of such values.

------------------

----------------

Hello

Use  the point.

And  read  this please - https://products-filter.com/hook/woof_slider_meta_query_type/

Thank you for your quick ansser. However, I did not quite understand where I am supposed to insert the following provided code:

add_filter('woof_slider_meta_query_type',function($type,$key){    
    return "DECIMAL(5,3)";
},2,10);

I figured out that I should put it in the functions.php file of my theme, is it right ?

Also, can you explain a little bit what how this snippet works, especially the line return "DECIMAL(5,3)";

Thank you very much.

Hello

is it right ? - Yes!

especially the line return "DECIMAL(5,3)"; - this data is transmitted in a meta request and means that the search will occur in fractional numbers. ( https://c2n.me/44fkOhC.png ) - accuracy