Magento 2 VAT Price Switcher for B2B Stores
SKU: VATSWITCHER1
- Magento 2 VAT price switcher toggles the price display with one click, no page reload
- Default per customer group, e.g. net for trade, gross for consumers
- Cookie remembers the choice across pages and visits
- Client-side and cache-friendly, no tax calculation of its own
Einmaliger Kauf · inkl. 12 Monate Updates · zzgl. MwSt.
Magento 2 VAT price switcher: show prices the way your customers calculate
Trade buyers think in net, consumers in gross. The Magento 2 VAT price switcher shows each the matching price view and lets them switch at any time.
The Mironsoft Magento 2 VAT price switcher adds a price display switch to your Magento 2 shop running Hyvä. Visitors decide with one click whether prices appear including or excluding VAT. Magento still calculates the amounts; the module only switches the presentation.
One click, two views
Gross and net switch instantly, without page reload and without a server request.
Default per customer group
Trade customers start with net, consumers with gross, freely assignable.
Choice is remembered
A cookie stores the selection for all further pages.
Consistent everywhere
Listing, product page, tier prices and mini cart follow the same view.
Own notice texts
"incl. VAT" and "excl. VAT" wording per store view.
Switch Magento 2 price between net and gross: client-side and cache-friendly
The Magento 2 VAT price switcher uses Magento's option to output prices including and excluding tax and shows the matching variant according to the selection. Because both values are already in the HTML, switching needs no server call and the page stays fully in the full page cache. The switch sits in the header or right next to the price, as you define in the theme.
- Both prices are in the HTML, switch without a request
- Switch position freely selectable
- Special prices and price ranges of configurable products switch along
Show Magento 2 net prices for B2B: default view per customer group
In the admin of the Magento 2 VAT price switcher you define per customer group which view the shop starts with. Dealers and wholesalers see net prices immediately, guests and consumers start with gross prices. Once a visitor has switched manually, their choice wins over the group default. The module does not replace price rules: whoever should receive different prices still uses tier or customer group prices for that.
- Default view per customer group, guests included
- The visitor's own choice takes priority
- No change to prices or tax classes
Price display with VAT notice: label prices correctly in your shop
With the Magento 2 VAT price switcher, each price carries the matching notice, such as "incl. 19% VAT" or "excl. VAT". The texts can be worded freely per store view. Important for use in Germany: prices addressed to consumers must be stated including VAT. The default for consumers should therefore remain gross, while the net view targets business customers. The module is not legal advice; we align the settings with you.
- Notice texts per store view
- Guests start with gross by default
- Net view intended for business customers
Magento 2 VAT price switcher in practice: mixed B2B and B2C stores
The Magento 2 VAT price switcher pays off wherever business customers and consumers use the same shop.
Technical wholesale
Buyers compare offers in net and immediately see the prices their accounting works with.
Hybrid store for trades and consumers
Tradespeople switch to net, consumers stay on gross, in the same catalog.
Dealer portal with login
After login, dealer customers automatically see net prices without switching themselves.
International customers
EU companies with their own VAT ID check prices without German VAT where tax-free delivery applies.
Magento 2 price display incl. and excl. tax: without and with the switcher
What the switch changes in daily work.
| Task | Without module | With B2B VAT Price Switcher |
|---|---|---|
| Showing net and gross | Both prices always at once, cluttered | One view, switchable with a click |
| Dealer default | Separate shop or store view needed | Default per customer group |
| Cache | Customer group variation needed | Both prices in identical HTML |
| Remembering the choice | Not possible | Cookie across all pages |
| Notice texts | Fixed default texts | Freely worded per store view |
| Maintenance | Manual theme customization | Configuration in the admin |
Setting up the Magento 2 VAT price switcher in five steps
You commission, we set up the Magento 2 VAT price switcher: usually within a few working days after alignment.
-
01
Check tax configuration
We set the Magento display so both prices are output.
-
02
Assign customer groups
You decide the net or gross default per group.
-
03
Place the switch
Position and design in the Hyvä theme.
-
04
Texts and cookie
Notice texts per store view and cookie duration.
-
05
Acceptance
Test with guest, consumer and dealer, then the module goes live.
Scope: switcher, tax rate and customer prices
Mironsoft separates presentation and calculation:
- The Magento 2 VAT price switcher only changes the display between the two prices Magento calculates.
- Dynamic Shipping Tax controls the tax rate of shipping costs in mixed carts.
- Customer Price and Tier Price define individual prices, not how they are displayed.
- Checkout always calculates according to the Magento tax configuration, not the switch position.
No download — personal setup instead
B2B VAT Price Switcher, your Magento 2 VAT price switcher, is not listed here as a ready-made download file for self-installation. The purchase is a service commission: we get in touch after the purchase, install the module in your shop and agree together on customer groups, notice texts and switch position.
Frequently asked questions about the Magento 2 VAT price switcher
Everything important about the Magento 2 VAT price switcher: tax, customer groups, cache and how the purchase works.
How can I switch between net and gross prices in Magento 2?
How do I show net prices for dealers in Magento 2?
Does the module calculate tax itself?
Must consumers see gross prices?
What happens in cart and checkout?
Does the switcher work with the full page cache?
Does the extension work with Hyvä?
Are special prices and tier prices supported?
Can I download and install the module myself?
Magento 2 VAT price switcher – Mironsoft B2B VAT Price Switcher