What you set up
- What a new visitor sees first: as the shop is set up, with tax, or without tax.
- Switch position (left or right), colour, and the text of both buttons.
What shoppers see
- Two buttons ("Prices incl. tax" / "Prices excl. tax"); the active one is marked.
- Product pages, lists and the ajax mini cart follow the choice. Without tax the "Ex Tax" line disappears.
- Button group label is in a language file you can translate; the button texts are yours.
Safe
- Only changes how prices are shown for that visitor. Tax lines of the cart and the order total stay as the shop calculates them.
- Texts are plain text, unknown cookie values are ignored. No database tables.
Good to know
- Page-caching modules must vary the cache by the cookie txs_mode, or one visitor's choice is shown to others.
- Themes that print prices from their own code may not follow the choice.
- Tested on 2.3, 3.0, 4.0 and 4.1 with the real admin installer, 40 checks each. Not checked in a real browser (click on the buttons).