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

Round the shipping price

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 again,

I have my products rounding to 0.95cent however my shipping rates when converted to local currency are still producing odd numbers such as $3.72

Is the a way to have the shipping prices also rounding up to 0.95?

Thanks

Hello

Try  to use  the  hook - woocommerce_package_rates

An example:

add_filter('woocommerce_package_rates', function($rates, $package){

foreach ($rates as $rate) {

// round  $rate->cost

}

return $rates;

}, 9999, 2);