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?
I had this problem and it was caused by outdated custom woocommerce template files.
For example, the
review-order.php
file inthemes/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.
In your case problem with html classes. When editing the
checkout/review-order.php
file, you need to keep the right html classshop_table woocommerce-checkout-review-order-table
at the highest parent node. The file should look something like this: