Background of the issue:
I am trying to remove cents .00 from all currencies and round up. I have set this up in the Multi currency section but nothing has changed. The issue can be seen on this page: hidden link
Symptoms:
I expected to see no cents, but the cents are still there.
Questions:
Why are the cents still appearing after setting up the Multi currency section?
Hello there,
Thanks for contacting WPML Support. Sorry for the delay in responding due to the weekend.
I understand what you're looking for. By default, WooCommerce Multilingual removes cents for certain currencies like JPY, GBP, and others. However, the filter to exclude cents hasn't been applied to all currencies yet due to various factors. This is why, for some currencies on your site, the cents or decimal values are still being displayed.
WCML has a hook that can remove the cents from the pricing. Please check the Hook below for more details.
You can use the example code provided there. For the `$currencies` value, simply add the currency for which you want to exclude the cents.
I hope the Hook and example code will help to solve the issue. Please feel free to let me know if you need further clarification or assistance in this matter. I'll be happy to help.
Best regards,
Prosenjit
The topic ‘[Closed] Removing cents .00 form all currencies and rounding up’ is closed to new replies.