WooCommerce: Fix for Wrong Order Total

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

Fix the Order Total = $1 Issue in WooCommerce
Fix the Order Total = $1 Issue in WooCommerce

Where to add custom code?

You should place custom PHP in functions.php and custom CSS in style.css of your child theme: where to place WooCommerce customization?

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 certain cases, also, the customer is forced to log in and this really affect sales conversion rate – instead of the checkout form customers see this notice: “Please log in […]
  • WooCommerce: Which Subscriptions Plugin Should You Buy?
    Setting up a recurring revenue stream is one of the hottest ecommerce money-making strategies. And there is no doubt that, no matter whether you sell cakes, audio books, services, rentals, there is always room for a “subscription” product. Think about selling a product once, and then seeing automatic renewal orders come through. And where the […]
  • 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 WooCommerce “product types” are included within the official WooCommerce Subscriptions extension. There are two new product types in such case: “Simple Subscription” and “Variable Subscription”, with the difference being you […]
  • WooCommerce: 5 Plugins That Will Increase Your Conversions
    Conversion rate is one of the most important metrics to look out for when running an online store.  Once you have your store all set up and start attracting traffic to your site through SEO and paid advertising, it’s now time to look at how many of your store’s visitors are converting.  Let’s step back […]
  • WooCommerce: 6 Membership Plugins To Choose From
    “A bird in the hand is worth two in the bush” applies well to business. While customer acquisition is important, what’s even better is to drive repeat sales and increase your business by retaining your existing customers.  An excellent way to do this is by offering memberships on your online store. By making customers a […]

Rodolfo Melogli

Business Bloomer Founder

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

  1. Thanks Rodolfo,

    Simple fix for a frustrating problem, i was searching for a while for a solution to this problem. Thanks for posting!

    1. Thanks for your feedback John! Much appreciated 🙂

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!

Your email address will not be published. Required fields are marked *