accounts configuration node contains all the settings required for managing user accounts in the online shop.
It defines how customers register, log in and stay logged in, and which data they can view or edit in their customer account. In addition, it contains security-relevant parameters such as password checks, login blocks, auto-login rules, and the management of payment and address data.
This configuration lets you tailor the behaviour of the customer account to the requirements of your shop — from a simple sign-in to fine-grained control of permissions and data fields.
accounts* - Basic structure
The basic structure of the accounts node is shown below:
Parameter descriptions
accounts.account - User account
Controls the central account settings for customers. Here you define security checks, password rules, login protection mechanisms and other account functions.
This configuration influences how customer accounts are created, used to sign in and managed in the shop.
The settings for this section can be found in the Admin Interface under .
Example configuration for all subshops (accounts.account)
Parameter descriptions
New customer rules (newCustomerRules)
newCustomerRules defines when a logged-in customer is considered a new customer during the order process. The customer type newCustomer determined this way is evaluated by the payment method validation paymentValidation.accountType — for example, to block purchase on invoice for new customers.
Each rule consists of a field and a condition. If the condition of a rule applies, the customer is not considered a new customer. Only when none of the rules applies is the customer classified as a new customer.
Example configuration (accounts.account.newCustomerRules)
A customer counts as a new customer as long as no customer number has been assigned yet:
Parameter overview
The customer type is determined during the login within the order process based on these rules (
newCustomer or customer). A new registration during the order process always leads to the customer type newCustomer, regardless of the rules. Guest orderers have the customer type guest.accounts.accountRestrictions - Subshop restrictions for user accounts
Restricts the availability of customer accounts to defined subshops, for example to make B2B accounts available only in a country-specific shop, or to provide exclusive areas per tenant or region.
The settings for this section can be found in the Admin Interface under .
Example configuration for all subshops (accounts.accountRestrictions)
Parameter descriptions
accounts.addressFieldsSettings - Custom address field settings
Controls the central configuration of address fields in the shop. Here you can define custom labels, default values, visibility and read-only rules for billing and delivery addresses.
The settings for this section can be found in the Admin Interface under .
Example configuration for all subshops (accounts.addressFieldsSettings)
Parameter overview
Condition-dependent definitions (
customLabelsDefinition & defaultValuesDefinition)
The definitions defaultValuesDefinition and customLabelsDefinition allow you to define default values and custom field labels for address fields based on certain conditions.
Both definitions follow the same structure and support a conditions array that can be used to tie the application of the rule to field conditions.
Structure of an entry
Structure of a condition
Example for
customLabelsDefinition
Custom field labels that are displayed depending on conditions.
accounts.addressField.firstName field in the billing address is labelled “Vorname (Rechnung)” — but only if the country is set to DE. In the second entry, the accounts.addressField.firma field in the delivery address gets the label “Firma (Lieferung)” as soon as the accounts.addressField.country field contains any value (type: "filled").
Example for defaultValuesDefinition
Default values for address fields, also pre-filled based on conditions.
accounts.addressField.country field in the billing address is unconditionally pre-filled with "DE". In the second entry, the salutation of the delivery address (accounts.addressField.salutation) is set to "Herr" only when the country is DE.
