Search code examples
phpajaxwordpresswoocommercee-commerce

Woocommerce - Order Review total on checkout page not refreshing


After changing the shipping method on the Checkout page of my Woocommerce store, the total price does not update to reflect the new shipping cost.

I disabled all plugins, checked for errors, but everything is running like it should - except the total won't update.

I can't find anything about this on Google either. Anyone know what would cause this, or what steps I need to take to fix?


Solution

  • I had this problem and it was caused by outdated custom woocommerce template files.

    For example, the review-order.php file in themes/my-theme/woocommerce/ was outdated and it included some of my own code.
    I updated the version of that file, brought my custom code over and voila, upon changing shipping methods it successfully makes an AJAX call and refreshes the order totals.