Customer attributes for orders
Introduction
During the checkout process in your 21.Shop, customers enter various details about their order, such as their name, address or additional information.
This information is managed via so-called customer attributes.
In the 21.Commerce Administration, you can specify:
- which fields are displayed in the checkout
- which fields are mandatory
- which information applies only to a single order
- which data is permanently stored for the customer
- whether an alternative delivery address can be used
This guide shows you all the configuration options using practical examples.
Configuring standard customer attributes
You decide which address fields are visible in the checkout.
- Open the Shop Administration
- Go to
‘Settings → Customer Attributes’
You will now see a list of all available address fields.
Meaning of the settings
| Setting | Description |
|---|---|
| Use | Field is displayed in the checkout |
| Validate | Field is a mandatory field (*) |
| Save | Information is saved in the customer account |
| In delivery address | Field also appears in the alternative delivery address |
This allows you to customise the entire checkout address form.
Enable alternative delivery address
- Open ‘Settings → Customer attributes’
- For the relevant fields, select the option
‘in delivery address’
Typical fields include:
- Name
- Company
- Street
- Postcode / Town
- Country
- Telephone number
- Save the changes
The following option will then appear automatically at checkout:
“Enter new delivery address”
Your customers can now enter separate billing and delivery addresses.
Custom customer attributes (additional fields)
In addition to the standard fields, you can request your own additional information.
These fields always apply to an order or, optionally, to the customer account.
Example 1: Preferred delivery date
You want to allow your customers to specify a delivery date.
Configuration
-
Label: preferred delivery date
(maintain via the localisation editor if multiple languages are used) -
Use: Enable
-
Validate: Optional – make it a required field if necessary
-
Save: Disable
→ The date applies only to this order -
In delivery address: Disabled
-
Dropdown: Leave blank (free text input)
The field now appears at checkout.
Example 2: How did the customer find out about the shop?
Here, you want to offer fixed options.
Configuration
- Label: How did you find out about us?
- Use: Enable
- Validate: Optional
- Save: Enable
→ Information remains saved in the customer account - In delivery address: Disabled
- Dropdown:
Google;Recommendation;Social media;Newspaper advert
The customer is presented with a dropdown menu at checkout.
Customer-facing display
Alternative delivery address at checkout
Once the relevant fields for the delivery address have been enabled, the following appears at checkout:
“Enter new delivery address”
The customer can:
- enter a different delivery address
- use separate billing and delivery addresses
Addresses in the customer account
In their customer account, your customers can:
- edit existing addresses
- save multiple delivery addresses
- select saved addresses for future orders
Typical uses for customer attributes
Customer attributes are particularly suitable for:
- alternative delivery addresses
- preferred delivery dates
- additional information regarding the order
- marketing questions
- internal order notes
- B2B information (company, department, reference number)
Further help
If you have any questions or problems, our support team will be happy to help. To do so, open a support ticket:
- Go to the Swiss21 portal.
- Click on your profile picture in the top right corner.
- Click on “Support”.
- Click on “Contact support”.
- Fill out the form and our support team will get back to you as soon as possible.
Support opening hours: Monday – Friday I 8:00 a.m. – 12:00 p.m. I 1:30 p.m. – 5:00 p.m.
