
electronixrus(@electronixrus)
3 Posts
Customers
Quote from electronixrus on January 6, 2022, 07:13
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?
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?

Pablo Borysenco(@pavlo_borysenco)
19,703 Posts
Quote from Pablo Borysenco on January 6, 2022, 12:53
Hello
In the WOOCS settings, remove the display of decimals
Hello
In the WOOCS settings, remove the display of decimals

electronixrus(@electronixrus)
3 PostsTopic Author
Customers
Quote from electronixrus on January 6, 2022, 13:32
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?
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?

Pablo Borysenco(@pavlo_borysenco)
19,703 Posts
Quote from Pablo Borysenco on January 7, 2022, 13:15
Hello
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 - https://c2n.me/4exszZY.png
$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));
Hello
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 - https://c2n.me/4exszZY.png
$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));

electronixrus(@electronixrus)
3 PostsTopic Author
Customers
Quote from electronixrus on January 7, 2022, 16:06
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.
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.

Pablo Borysenco(@pavlo_borysenco)
19,703 Posts
Quote from Pablo Borysenco on January 10, 2022, 11:44
Hello
Have you changed the code?
Hello
Have you changed the code?