WooCommerce displays the wrong prices

The problem: After enabling caching, sometimes prices are incorrectly displayed—sometimes with tax, sometimes without. 

This type of issue usually depends on your WooCommerce tax and geolocation settings. 

If you have set WooCommerce to automatically display the price with or without tax,  based on the customer's address, it means that you'll need to use the  Geolocate (with page caching support) setting in WooCommerce: 

Default Customer Location: Geolocate (with page caching support)

Alternatively, you could use your  store location as the basis for tax display, so that the price including tax will always be displayed regardless of the customer location. 

You can also use the plugin Tax Display by Country, by Aelia. WP Rocket has automatic compatibility with this plugin.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.