Home Devert | Switch between gross/net in frontend (DevertTaxSwitch) Documentation Shopware Store ↗ Deutsch

Getting started

After activation the switch is already visible in the header and in the off-canvas menu.

Installation

  1. Install and activate the extension in the Administration under Extensions → My extensions.
  2. Open the configuration there with the … menu.
  3. Select the sales channel at the top. All settings can be set per sales channel.
  4. If you do not see the switch, compile the theme again and clear the cache (bin/console theme:compile and bin/console cache:clear).

Quick check

  1. Open the shop in a private browser window.
  2. Click the switch in the header. The first time, the cookie hint appears.
  3. Allow the cookie. The page reloads and shows the prices in the chosen mode.
Header with open dropdown “Private customer: gross” and “Commercial customer: net”
The switch in the header

General

Configuration card “General”

Active (in this Storefront)?

Default: On Configuration card: General

Turns the plugin on or off for the selected sales channel. When it is off, switch, popup and second price disappear, an existing cookie is ignored and the customer group applies.

The other options of this card are described in Cookie & links.