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

Customers & registration

Define what applies to logged in customers, who sees the switch and how business customers are recognized.

Logged in customers and customer groups

Configuration card “Logged in customers and customer groups”

Behavior for logged in customers

Default: Customer group on login, afterwards the customer can switch Configuration card: Logged in customers and customer groups

Choices: Customer group decides (switch is off for logged in customers) Customer group on login, afterwards the customer can switch Choice of the customer always applies Choice of the customer, saved in the customer account

With the plugin active, guests always see the switch, unless their customer group is excluded.

ChoiceOn loginSwitch afterwards?Typical case
Customer group decidesThe customer group applies, the cookie is ignored.No, there is no switchFixed terms for business customers
Customer group on login (default)The mode is set to the one of the customer group.YesA sensible start value, the customer stays flexible
Choice of the customer always appliesThe choice in the browser stays.YesThe login should change nothing
Choice of the customer, saved in the accountThe choice saved in the account is restored, otherwise the customer group applies.Yes, the choice is saved in the accountSame mode on several devices

Good to know:

  • On login the plugin only writes the cookie if it already exists (consent was given) or counts as a technical cookie. The choice saved in the account needs this on a new device too. Without a cookie the customer group applies.
  • Whoever registers, as a guest or with an account, for example in the checkout, keeps their choice. The customer group only applies at a later login.
  • You see the saved choice at the customer in the custom field “Chosen price display”.

Show switch only for these customer groups

Default: empty Configuration card: Logged in customers and customer groups

Example: only the standard customer group may switch, retailers always see their net prices. If the switch is hidden for a group, an existing cookie is ignored too.

Registration

Configuration card “Account Registration”

Both features need the account type selection. Enable the option “Show selection between company and customer account” in the Shopware settings under Log-in & sign-up.

Preselect the "I am" field

Default: Off Configuration card: Account Registration

Visitors who see gross prices get “Private” preselected, visitors who see net prices get “Commercial”. For “Commercial” Shopware shows the company fields right away. The visitor can change the selection.

The preselection works on the login page (/account/login), on the registration in the checkout and when adding a new address, not when editing one and not for a different shipping address.

Registration form with preselected account type “Commercial” and company fields
Registration in net mode

Request customer group for business registrations

Default: empty Configuration card: Account Registration

If someone registers as a company, the selected group is set as requested customer group, also for guest orders. The group is not assigned automatically: you accept or decline the request at the customer in the Administration.

A request chosen in the form itself is not overwritten. If the customer already has the group, nothing happens.