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

Unable to round cents to 0.99, 0.50 or 0.95 when switching currencies

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 blue-green button on the right side) and press Save button.
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 tried adding the following code to the functions.php file in Theme but no changes when I switch currencies. Ideally I want the price to end with $0.95/£0.95 etc, but tried testing it with the below code and it didn't work anyway.

2
3
add_filter('woocs_raw_woocommerce_price', function($price) {
    return round($price + 0.01)0.01;
});

I appreciate your help on this! I'm using Themify theme if that helps or not.

Cheers!

Hello

You wrote in support of WPCS. But you use the code for the WOOCS plugin

Which plugin are you using?

WOOCS, sorry posted in wrong area! You have responded to my other ticket.

Ok!  Great