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 .99 to the normal price, not the cent.

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 dear Fox!

I hope everything alright. Thank you very much your previous help. I have done the task what you have told me. I got one question please.

I would like to setup the hungarian forint such as from 17.735 Ft to 17.999 Ft. I was thinking how can I archive that but i need help. By the way your software amazing, i am going to leave a great review.

I would like to setup the same amount for HUF / PLN / NOK / DKK / CZK . There are no cents. Thats why i need your advice.

This is how looks like the current code. Please help me how can I solve this issue. Thank you very much for your help.! Have a nice day! :)

add_filter('woocs_raw_woocommerce_price', function ($price) {
global $WOOCS;
if ($WOOCS->current_currency === 'USD') {
$price = round($price + 0.01) - 0.01;
}

if ($WOOCS->current_currency !== 'EUR') {
$price = round($price + 0.01) - 0.01;
}

if ($WOOCS->current_currency !== 'CHF') {
$price = round($price + 0.01) - 0.01;
}
if ($WOOCS->current_currency !== 'HUF') {
$price = round($price + 0.01) - 0.01;
}
if ($WOOCS->current_currency !== 'GBP') {
$price = round($price + 0.01) - 0.01;
}
if ($WOOCS->current_currency !== 'PLN') {
$price = round($price + 0.01) - 0.01;
}
if ($WOOCS->current_currency !== 'NOK') {
$price = round($price + 0.01) - 0.01;
}
if ($WOOCS->current_currency !== 'DKK') {
$price = round($price + 0.01) - 0.01;
}
if ($WOOCS->current_currency !== 'CZK') {
$price = round($price + 0.01) - 0.01;
}
if ($WOOCS->current_currency !== 'RON') {
$price = round($price + 0.01) - 0.01;
}

return $price;
});

 

Hello

Please paste your license key here - https://share.pluginus.net/image/i20230222134241.png -> https://share.pluginus.net/image/i20230222134511.png

I need more information:

Write a list of all the currencies you use

write a list of currencies you want to change( and how to change )