
In the UK’s bustling e-commerce scene, selling to both the public and other businesses presents a unique challenge: how do you display prices without alienating half your audience? Retail consumers expect final costs with VAT included, while trade customers require net pricing for their accounting. By default, Magento forces a single display method, often leading to abandoned carts or confused buyers. The Magento 2 VAT Switcher is the definitive solution, providing the transparency and technical flexibility that modern UK merchants demand.
Why Your Magento Store Needs an AJAX-Powered VAT Switcher
It all boils down to trust and user experience. When a business buyer has to manually calculate net costs, it creates friction. Conversely, retail shoppers who encounter unexpected VAT at checkout are likely to bounce. Traditional switchers often require a full page reload, which disrupts the browsing flow and can hurt your conversion rates.
Our updated extension solves this with AJAX-based price switching. It allows any visitor to instantly toggle between VAT formats without a page refresh. This provides a fast, modern experience that keeps users engaged while ensuring they see the pricing most relevant to their tax status.
Advanced Functionality of the Magento 2 VAT Switcher
This isn’t just a simple toggle; it is a sophisticated pricing engine designed to integrate deeply with your Magento environment:
- Instant AJAX Updates: The toggle utilises AJAX to update all price blocks site-wide—including the Mini-cart, Search Results, and Widgets—without a hard refresh or page reload.
- Dynamic Customer Group Mapping: Admins can now use a dynamic configuration grid to map specific customer groups to their preferred VAT display. Logged-in “Trade” users will automatically see VAT-exclusive prices, while “Retail” groups see inclusive prices by default.
- Smart State Persistence: The extension remembers user preferences via sessions or cookies. If a guest switches the view, their choice remains active as they navigate the catalogue or return for future visits.
- Manual Override Logic: Even with automated mapping, users retain total control. A manual toggle in the header always takes priority over group defaults for that specific session.
- Optimised for Hyvä and Breeze: Built for high-performance frontends, the extension ensures your site remains lightning-fast while delivering complex pricing logic.
- Configurable CSS Selectors: For stores with custom themes, admins can define specific CSS containers (like .price-box) in the backend, ensuring perfect AJAX compatibility without code changes.
The Real-World Benefits for UK Magento Merchants
Implementing this technical enhancement has a direct impact on your store’s bottom line:
- Legal Compliance: Easily adhere to UK pricing regulations by providing clear, inclusive pricing for consumers.
- Reduced Cart Abandonment: By eliminating pricing surprises at checkout, you build confidence in your retail audience.
- B2B Efficiency: Provide your wholesale clients with the net pricing they need to make quick purchasing decisions.
- Seamless Integration: The module relies on your existing Magento tax rules and customer groups, making it reliable and easy to manage.
Getting Started: Configuration and Control
Setup is straightforward and handled entirely within the Magento Admin panel you already know. You can manage the following via Admin > Stores > Configuration > Scommerce Configuration > VAT Switcher:
- Enable or disable the AJAX switcher globally.
- Utilise the Dynamic Row UI to map your various Customer Groups to VAT preferences.
- Set the default display view for guest visitors and first-time users.
- Prevent duplicate group entries with built-in admin validation.
- Show Price Without VAT: A high-visibility toggle in the header allows for instant switching.
- Show Price With VAT: Provide the transparency your retail customers expect with a single click.

Show Price Without VAT
You can see a toggle button on the top left corner clicking on that will switch between displaying prices with/without VAT.

Show Price With VAT

In just a few minutes, you can offer a much more professional and user-friendly pricing experience.
Conclusion: Stop Letting Price Confusion Cost You Sales
For any UK merchant with a mix of customers, a one-size-fits-all approach to pricing is a handicap. The Magento 2 VAT Switcher is the straightforward solution, giving your retail shoppers the clarity they need and your trade buyers the convenience they demand.
It’s a simple change that makes your store work better for everyone. Don’t let a small display issue get in the way of a sale, give your customers the choice and clarity they deserve.


