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 pleaseIf 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.
Quote from leanazar on July 24, 2019, 01:50Yes 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
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
Quote from Pablo Borysenco on July 24, 2019, 11:48Hello
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
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
Quote from leanazar on July 24, 2019, 16:36Thanks for all Pablo you are the best
Thanks for all Pablo you are the best
Quote from Pablo Borysenco on July 25, 2019, 12:03Hello
Thank you and Welcome;)
Hello
Thank you and Welcome;)
Quote from leanazar on July 25, 2019, 15:53Pablo, really you are the best the function for round price by 5 works whell, expect on the variable products.
i leave a picture here
If you like to test you can use my dev site.
Thanks again for your help.
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
If you like to test you can use my dev site.
Thanks again for your help.
Quote from Pablo Borysenco on July 26, 2019, 12:08Hello
Read this - https://currency-switcher.com/hook/woocs_woocommerce_variation_prices/
Hello
Read this - https://currency-switcher.com/hook/woocs_woocommerce_variation_prices/
Quote from leanazar on July 30, 2019, 18:01Excellent 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
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
Quote from Pablo Borysenco on July 31, 2019, 11:59Hello
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
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
Quote from leanazar on August 1, 2019, 18:17Perfect 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
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
Quote from Pablo Borysenco on August 2, 2019, 11:16Hello
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
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