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

Behavior for logged in customers
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.
| Choice | On login | Switch afterwards? | Typical case |
|---|---|---|---|
| Customer group decides | The customer group applies, the cookie is ignored. | No, there is no switch | Fixed terms for business customers |
| Customer group on login (default) | The mode is set to the one of the customer group. | Yes | A sensible start value, the customer stays flexible |
| Choice of the customer always applies | The choice in the browser stays. | Yes | The login should change nothing |
| Choice of the customer, saved in the account | The choice saved in the account is restored, otherwise the customer group applies. | Yes, the choice is saved in the account | Same 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
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

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
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.

Request customer group for business registrations
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.