On a website using USD and WooCommerce Subscriptions, a weird error showed up. After doing a bit of research, I found out that orders above $999.99 were showing as $1 on the Cart and Checkout page. Pretty weird! Here’s how I fixed it.
Delete the “Thousand Separator” in the WooCommerce General Settings
This code still works, unless you report otherwise. To exclude conflicts, temporarily switch to the Storefront theme, disable all plugins except WooCommerce, and test the snippet again: WooCommerce troubleshooting 101
Related content
WooCommerce: Allow to “Pay for Order” Without Login Some plugins such as “deposit” and “subscription” payments send customers to the “Pay for Order” page in order to complete a pending WooCommerce order. In…
WooCommerce: Check If Product Is A Subscription We’ve already found out how to check if a WooCommerce product is simple, variable, grouped… Today we add more conditional tags as we study which…
Author, WooCommerce expert and WordCamp speaker, Rodolfo has worked as an independent WooCommerce freelancer since 2011. His goal is to help entrepreneurs and developers overcome their WooCommerce nightmares. Rodolfo loves travelling, chasing tennis & soccer balls and, of course, wood fired oven pizza. Follow @rmelogli
2 thoughts on “WooCommerce: Fix for Wrong Order Total”
John
Thanks Rodolfo,
Simple fix for a frustrating problem, i was searching for a while for a solution to this problem. Thanks for posting!
Questions? Feedback? Customization? Leave your comment now! _____
If you are writing code, please wrap it like so: [php]code_here[/php]. Failure to complying with this, as well as going off topic or not using the English language will result in comment disapproval. You should expect a reply in about 2 weeks - this is a popular blog but I need to get paid work done first. Please consider joining the Business Bloomer Club to get quick WooCommerce support. Thank you!
Thanks Rodolfo,
Simple fix for a frustrating problem, i was searching for a while for a solution to this problem. Thanks for posting!
Thanks for your feedback John! Much appreciated 🙂