
Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on October 25, 2022, 12:04
Hello Pat
Read  this  please - https://currency-switcher.com/hook/woocs_raw_woocommerce_price/  AND  https://currency-switcher.com/hook/woocs_woocommerce_variation_prices/
Hello Pat
Read  this  please - https://currency-switcher.com/hook/woocs_raw_woocommerce_price/  AND  https://currency-switcher.com/hook/woocs_woocommerce_variation_prices/

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on October 26, 2022, 09:58
Hello Pat
Read  this - https://stackoverflow.com/questions/4133859/round-up-to-nearest-multiple-of-five-in-php
This hook works with all currencies.
To limit rounding for the base currency:
global $WOOCS;
if ($WOOCS->current_currency != $WOOCS->default_currency){
//do round
}
 
Hello Pat
Read  this - https://stackoverflow.com/questions/4133859/round-up-to-nearest-multiple-of-five-in-php
This hook works with all currencies.
To limit rounding for the base currency:
global $WOOCS;
if ($WOOCS->current_currency != $WOOCS->default_currency){
//do round
}
 

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on October 26, 2022, 10:46
Ok! this code - https://share.pluginus.net/image/i20221026084410.png
Ok! this code - https://share.pluginus.net/image/i20221026084410.png

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on October 27, 2022, 09:47
Hello Pat
If you don't have programming experience, you'd be better off hiring a developer
Read  this  please - https://developer.wordpress.org/reference/functions/add_filter/  and  https://www.wpbeginner.com/glossary/hooks/
 
Hello Pat
If you don't have programming experience, you'd be better off hiring a developer
Read  this  please - https://developer.wordpress.org/reference/functions/add_filter/  and  https://www.wpbeginner.com/glossary/hooks/