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

Possible to only round price to .99 if currency is not euro and category must be X

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.

Hi,

Im looking for a code snippet to only round prices to .99 if the currency is anything else than euro, and it must be in a certain category.
I need this because im importing prices in euro and i have dropship products where my margins are very tiny in some categories, i am also on price watcher sites, and to be competing i have to exclude some products from rounded prices.

I hope to get some help..

Thank you in advance!

Kind regards,

Samet Kus

Hello Samet

Yes, here is the code https://currency-switcher.com/how-to-round-price-to-99-cents

Use: if ($WOOCS->current_currency !== 'EUR')