B2C Customer Registration

WATCH THE VIDEO

To increase sales and improve the customer experience, Sana Commerce Cloud offers online customer registration for B2C and B2B customers. Moreover, if you serve both B2C and B2B customers, you may need to request different information about B2C and B2B customers during registration.

B2C customers are customers who always register in the webstore online. If you have an open B2C webstore, any webstore visitor can browse the catalog. If customers want to purchase something, they must log in to the webstore using a shop account. In a B2C scenario, webstore visitors can also purchase as guests without registration, if this feature is enabled in Sana.

If webstore visitors visit your webstore for the first time and want to register as B2C customers, on the Login page in the Sana webstore, they must select the Consumer customer type. The choice between Consumer and Business is only available if you have both B2C and B2B registrations enabled.

On the Login page, a customer can enter an e-mail address. This field is not required. If a customer enters an e-mail address, it will be automatically filled in on the Creating a new account page.

Then, on the Creating a new account page, a B2C customer can register online by specifying personal data, like name, address, e-mail, and password that will be used to log in to the webstore.

Sana Commerce Cloud does not support international e-mail addresses, for example with German umlauts. For the e-mail addresses, customers can only use:

  • The upper and lower case English letters
  • Numbers
  • Special characters: dot (.), underscore (_) and hyphen (-)

After B2C customers register in the Sana webstore, they will receive an e-mail informing them about successful registration.

After B2C customers successfully register in the Sana webstore, they will see a B2C registration success page.

B2C registration and B2C registration success are system pages that exist in Sana by default. These are fully editable system pages and you can change your B2C registration and B2C registration success pages if you want to look them different.

To edit the content of the system pages, in Sana Admin click: Web pages > System pages. On the System pages page, you can see all available system pages and you can edit the B2C registration and B2C registration success system pages.

When a B2C customer registers in the Sana webstore, the customer is created in the ERP system based on the customer template associated with the country in ERP and data entered by the customer during registration. After registration, the shop account is automatically created, activated, and approved in Sana Admin.

Enable B2C Customer Registration

NOTE

To allow webstore visitors to register in the webstore online, you must set up the necessary settings in Sana and ERP.

To allow B2C customers to register online in the Sana webstore, in Sana Admin click: Setup > Ordering > Registration. On the Registration tab, enable the option Allow new customer registration for B2C customers.

If you have a B2X webstore, meaning that you serve both B2B and B2C customers, you can enable the option Allow new customer registration for B2B and B2C customers.

Then, in the Sana webstore on the Login page, a webstore visitor must select the customer type. Two customer types are available:

  • Consumer – Select this option if you register as a B2C customer.

  • Business – Select this option if you register as a B2B customer.

The options Consumer and Business are shown in the webstore, only if both B2B and B2C customer registrations are enabled.

Confirm E-mail upon Registration

When customers register online in the Sana webstore, they enter their e-mail addresses. To ensure the security and validity of shop accounts, you can ask your customers to confirm their e-mail addresses after registration.

Confirming e-mails upon registration helps to prevent the creation of fake or unauthorized accounts. Also, it enhances shop account security by ensuring customers have control over the e-mail address associated with their shop account. In some cases, law or industry regulations require confirming e-mail addresses upon registration to protect user data and privacy.

To request customers to confirm their e-mail addresses, in Sana Admin click: Setup > Ordering > Registration. On the Registration tab, enable the option Confirm e-mail upon registration for B2C customers.

After B2C customers successfully register in the Sana webstore, they will see a B2C registration success page.

Sana Commerce Cloud sends a confirmation e-mail to the provided e-mail addresses. To complete the registration, customers must click on the link in the e-mail to confirm their e-mail address.

To see the e-mail template, in Sana Admin click: Setup > E-mail templates. On the Webstore tab, edit the Email confirmation e-mail.

Until customers confirm their e-mails, the e-mail confirmation status of a shop account is Not confirmed.

Once customers click on the link in the e-mail, in the Sana webstore they see a notification that the e-mail has been successfully confirmed. Then on the Login page, a customer should enter an e-mail and a password to log in to the webstore.

In Sana Admin, the e-mail confirmation status of a shop account changes to Confirmed.

Set Up Registration Fields

In Sana Admin click: Setup > Profiles & addresses.

On the B2C registration fields tab, you can set up the necessary fields. These are the fields that are shown on the Creating a new account page in the Sana webstore.

You can add, edit, and remove the necessary fields.

All registration fields are retrieved by Sana from your ERP system. There you can see fields from the customer and address tables in your ERP.

NOTE

The fields NameCountryIdState and B2C Customer are the required fields of the registration form and cannot be removed.

The field B2C Customer is required, but it is not shown on the customer registration page. When a customer registers in a Sana webstore online, this field is used to save the customer to the ERP system as a B2C customer. The default value of the B2C Customer field is set to True, which means that all customers who register in a Sana webstore as B2C customers will be saved to ERP with the B2C customer type.

The table below describes the registration form fields.

Field

Description

Field name

The fields for customer registration form are retrieved from the ERP system.

Entity name

Two options are available:

  • Address

  • Customer

Depending on the selected entity name, different fields are shown in the Field name dropdown.

Editor

The type of the field. Depending on the selected field, different editors can be used: 

  • Text box

  • Multiline text box

  • Check box

  • Radio buttons

  • Dropdown list

  • Date picker (standard calendar)

  • Date picker drop-downs (three separate dropdowns for day, month and year)

  • Text box autocomplete (It is available for the Address and Zip Code fields. It is used for the Google places and Loqate add-ons).

Visibility

Use this option to show or hide the field on the registration form in the webstore.

Default value

You can specify the default value that will be shown in this field on the registration form in the webstore.

Required

Use this option to define whether the field is required or optional.

Readable name

The option is available only for text box fields.

If the Readable name option is enabled, the field is validated for special characters. Only letters, digits, spaces and the following characters &-_().,'` can be entered.

Max length

You can define how many characters can be entered in the field of the text box type.

You need to know the maximum number of characters that can be stored in the field you add in your ERP system not to exceed the limit and not to encounter unexpected problems.

Options

Use options to add values and their user-friendly translatable titles for the fields of the dropdown list type.

Forbid past dates

Use this option to allow or forbid customers to specify a date in the past for the fields of the date picker type.

For some fields, you may want to forbid specifying dates in the past, and for other fields, you may want to allow dates in the past, such as date of birth.

Availability per selected country

NOTE

This section is not available for the required form fields that cannot be deleted. The required form fields are always available for all countries.

Use these settings to make the form fields country-dependent. Select countries for which the field should be available. The list of countries is retrieved from your ERP system. If some country is not selected, the field will not be available for that country on the Creating a new account page in the Sana webstore.

Duplication Check Field

In the Duplication check field, you can select one field which will be checked in the duplicate prevention scenario. The fields you can select for the duplication check are taken from the B2C registration form fields. You can select only one registration form field for duplication check which is marked as visible and required.

The duplication check means checking if the value in this field is unique. Sana checks if the customer with such data already exists. For example, you use some field in the registration form that requires the business customer to enter a certain unique identifier.

Once you change the Duplication check field, you must run the Customer import scheduled task to update customer data. You will be notified when you need to run the task.

For example, if you select the PhoneNo field as the Duplication check field, it means that a customer must enter a unique phone number. If on the Creating a new account page in the Sana webstore, a customer enters a phone number which already exists in the system, this customer cannot register. The value of the Duplication check field must be unique.

Create Customer Templates in ERP

When a customer registers in the Sana webstore, a new customer is automatically created in ERP. All information entered by the customer during registration, such as name and address, will be saved to the customer record in ERP. At the same time, other required data, such as currency, tax, payment, and shipping information, for example, will be copied from the customer template in ERP associated with the country selected during registration.

Therefore, you must set up all required countries in your ERP system and create customer templates for the countries with the necessary data.

Related Articles

Sana: B2B Customer Registration
Microsoft Dynamics NAV: B2C Customer Registration
Microsoft Dynamics AX: B2C Customer Registration
Microsoft Dynamics 365 Business Central: B2C Customer Registration
Microsoft Dynamics 365 for Finance and Operations: B2C Customer Registration
Microsoft Dynamics GP: B2C Customer Registration
SAP Business One: B2C Customer Registration
SAP S/4HANA: B2C Customer Registration
SAP ECC: B2C Customer Registration