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

WOOF Product Filter: Range Slider removes decimals only for USD, but not for other currencies

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.
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 [] 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.

As the subject explains, I have the WOOF Product Filter (free) and WOOCS Currency Switcher (premium). I have multiple currencies but the Range Slider only removes decimals for USD currency, but leaves decimals for other currencies. I have looked everywhere to fix this but am not finding a solution. I do NOT want to display decimal values in the Range Slider for ANY currency. Is this a bug or am I missing where to set the settings?


In the WOOCS settings, remove the display of decimals

Removing decimals from WOOCS settings removes decimals from woocommerce product prices. I ONLY want to remove decimals from the price range iron slider. It works for USD although USD also has decimals set to 2. Why does it work for USD but not for EURO...etc?


Please  drop  me  exact  link to the  issue

Try  in  file   - wp-content\plugins\woocommerce-products-filter\views\shortcodes\woof_price_filter_slider.php - change code -

$preset_min = floor(apply_filters('woocs_exchange_value', $preset_min));
$preset_max = ceil(apply_filters('woocs_exchange_value', $preset_max));
$min_price = floor(apply_filters('woocs_exchange_value', $min_price));
$max_price = ceil(apply_filters('woocs_exchange_value', $max_price));

I have added the url to my site in the"private data" tab at the top right. This way you can try it for yourself and observe that iron price range slider omits decimals only for USD and it only does this for MAX and MIN.


Have you changed the code?