Displaying Prices Exclusive of VAT for Specific Countries on WooCommerce

I’m currently running an online shop with WooCommerce and I have a unique situation where I need to display prices differently based on the customer’s location. Specifically, I want to display prices inclusive of VAT for all countries except Switzerland (CH), where I would like to display the prices exclusive of VAT.

This distinction should apply across my entire site, including product pages, the Cart, and the Checkout page.

I’ve tried customizing my theme’s functions.php file with different filters and functions to adjust the price based on the customer’s shipping country. While I’ve had some success altering the price display on the product pages, I’m struggling to find a solution for the Cart and Checkout pages.

Can you please guide me on how to achieve this or point me towards any plugins or resources that might be helpful?

Thank you in advance for your assistance.


This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer