Magento 2 Experts — Hyvä Theme, Tailwind CSS & SEO from a Single Source ›

Magento 2 VAT Price Switcher for B2B Stores

Magento 2 Extension Hyvä Ready Magento 2.4.x

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
Auf Lager
€129.00

Einmaliger Kauf · inkl. 12 Monate Updates · zzgl. MwSt.

No download, but personal setup

No download, but personal setup. This product is not a downloadable software package for self-installation. With your order, you commission Mironsoft to individually set up this module in your shop. We will get in touch with you within 2 business days — we'll sort out the details and payment together then.

This offer is aimed at business owners and companies running a Magento 2 shop.

6 features

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.

Native for Hyvä

Switch built with Alpine.js, no additional external JavaScript.

01Switch without reload

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
Product page · price area
View for trade customers
SwitchNet | Gross
Price€119.00 net
Noteplus 19% VAT
Stores › Configuration › Mironsoft
Guest (NOT LOGGED IN)Gross
DealerNet
WholesaleNet
02Default per customer group

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
03Texts and legal

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
Stores › Configuration › Mironsoft
Gross text
incl. {tax} VAT, plus shipping
Net text
excl. {tax} VAT, plus shipping
Default for guests
Gross
Use cases

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.

Comparison

Magento 2 price display incl. and excl. tax: without and with the switcher

What the switch changes in daily work.

TaskWithout moduleWith B2B VAT Price Switcher
Showing net and grossBoth prices always at once, clutteredOne view, switchable with a click
Dealer defaultSeparate shop or store view neededDefault per customer group
CacheCustomer group variation neededBoth prices in identical HTML
Remembering the choiceNot possibleCookie across all pages
Notice textsFixed default textsFreely worded per store view
MaintenanceManual theme customizationConfiguration in the admin
Setup

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.

  1. 01

    Check tax configuration

    We set the Magento display so both prices are output.

  2. 02

    Assign customer groups

    You decide the net or gross default per group.

  3. 03

    Place the switch

    Position and design in the Hyvä theme.

  4. 04

    Texts and cookie

    Notice texts per store view and cookie duration.

  5. 05

    Acceptance

    Test with guest, consumer and dealer, then the module goes live.

Scope

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.
How the purchase works

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.

Important to know

Your purchase does not include a download link. We will get in touch with you within 2 business days — we'll sort out the details and payment together then. This offer is aimed at business owners and companies running a Magento 2 shop.

FAQ

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?
With the Magento 2 VAT price switcher, visitors see a switch at the price. One click changes the display without reloading the page.
How do I show net prices for dealers in Magento 2?
You assign the net view as default to the customer group "Dealer". Logged-in dealers then start with net prices immediately.
Does the module calculate tax itself?
No. All amounts come from the Magento tax configuration. The module only switches between the two existing presentations.
Must consumers see gross prices?
Prices addressed to consumers must be stated including VAT. Gross is therefore recommended as default for guests; please clarify the legal assessment of your shop with your legal advisor.
What happens in cart and checkout?
Cart and checkout follow the Magento tax configuration. The switch affects the catalog so invoice amounts stay unambiguous.
Does the switcher work with the full page cache?
Yes. Both prices are in identical HTML and the switch merely toggles visibility, so no cache variation is needed.
Does the extension work with Hyvä?
Yes, the Magento 2 VAT price switcher uses Alpine.js and Tailwind from your Hyvä theme and loads no additional library.
Are special prices and tier prices supported?
Yes, special prices, tier prices and price ranges switch together, provided Magento outputs both variants.
Can I download and install the module myself?
No. This offer is not a download product. After the purchase we install and configure the module personally in your shop.
Write Your Own Review
You're reviewing: Magento 2 VAT price switcher – Mironsoft B2B VAT Price Switcher
loader
Loading...

You submitted your review for moderation.

This form is protected by reCAPTCHA - the Google Privacy Policy and Terms of Service apply.

Magento 2 VAT price switcher – Mironsoft B2B VAT Price Switcher

Magento 2 VAT price switcher – Mironsoft B2B VAT Price Switcher

€129.00