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

Error currency after update 2.9

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.
12

Yes that, rounded without cents, but i have one question, round the main currency, the second currency or each prince in each currency.

I send you a email with my FTP

Hello

To round with  cents (it's much easier):

round($price * 2, 0) / 2;

but i have one question - I do not understand your question  - it will round all currencies

Thanks for all Pablo you are the best

Hello

Thank you and Welcome;)

Pablo, really you are the best the function for round price by 5 works whell, expect on the variable products.

i leave a picture here

https://prnt.sc/ojxjc1

 

If you like to test you can use my dev site.

 

Thanks again for your help.

Hello

Read this - https://currency-switcher.com/hook/woocs_woocommerce_variation_prices/

Excellent Pablo, really you are the best, i put a new video on the Private Area, yo can see an error when you use is multiple allowed, i think i a problem with the dynamic pricing because its a problem with you option plugin"is multiple allowed" and the dynamic plugin option Settings > Change display prices in shop .

About the previous video and your answer of how to solve the problem of rounding in variable products did not work, there is a problem definitely when I enable the option"is multiple allowed"

Try to show the other video video the error you are making when that option is enabled.

Thanks in advance

Hello

About conflict  with third party  plugins - https://currency-switcher.com/woocs-labs/

My video - https://c2n.me/42QTo0i

perhaps a third-party plugin(on your  site) affects prices after rounding

Perfect Pablo, about the Variation prices, i add a lines to the functions.php

add_filter('woocs_woocommerce_variation_prices', function($price) {
return(ceil($price)%5 === 0) ? ceil($price) : round(($price+5/2)/5)*5;
});

 

I see in your video. i only have this before see your video

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

return(ceil($price)%5 === 0) ? ceil($price) : round(($price+5/2)/5)*5;
});

 

About the problem with the rightpress plugin i see this https://currency-switcher.com/woocommerce-dynamic-pricing-discounts-rightpress/

But here have to change 3 files, but only 1 are in the rightpress plugin, the sendond and third its not there.

 

Thanks

 

Hello

About the problem with the rightpress plugin -Yes, because we did an adaptation for the old version. Unfortunately for this plugin we will not do adaptation

12