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

How to Round Off Converted Currency Without Coding (For NON Technical Persons)

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.

Dear Team,

First of all I would like to say thank you to help the beginners to provide the free version of Currency Switcher. You guys are doing very good work to help peoples like me.

Secondly I would like to inform you that I'm a NON Technical Person and I installed your Currency Switcher plug in by following your video tutorial. Now I'm stuck in one thing that I want to keep my Default Currency US Dollar and second currency Indian Rupees but after conversion my Indian Currency is showing"Cents" which is seems very awkward so I want to Round Off my Indian Currency after Converting from Dollar.

For solving this issue non technically I turned off Cent display for INR but this is also awkward so can you please tell me how can I round off my INR cents or fix it eg.".00" ??? (because INR cents don't have much value so I can waive off it)

Thanks once again in advance

Waiting for your support :)

Best Regards,
Sudhir

Hello Sudhir

To  round  prices - https://currency-switcher.com/hook/woocs_raw_woocommerce_price and https://currency-switcher.com/hook/woocs_woocommerce_variation_prices

You can add this  code in  functions.php

add_filter('woocs_raw_woocommerce_price', function($price) {

return round($price , 0) ;

});

add_filter('woocs_woocommerce_variation_prices', function($price) {

return round($price , 0) ;

});