Countries

WATCH THE VIDEO

In the Sana webstore there are a few places where a customer must select a country:

  • Create a new account

  • Create a prospect order

  • Guest checkout

  • Shipping information

All countries are managed in SAP and retrieved by Sana to show them in the webstore. So, you must set up all countries in SAP that you want to show in the Sana webstore.

When you set up countries in SAP, you must also create and assign customer templates to all required countries. Customer templates are needed to create customers, prospects and allow guest customers place orders. But there is one case, when you need only countries without customer templates – when customers place orders and enter the custom shipping address. In this case, customer templates are not needed.

The table below presents the scenarios where a customer must select a country and their descriptions.

Scenario

Description

Template Customer

Create a new account When a customer registers in the webstore online. Required
Guest checkout When a webstore visitor places an order without registration as a guest. Required
Create a prospect order When a sales agent places an order on behalf of a prospect customer. Required
Shipping information When a customer enters a custom shipping address manually in the shopping cart while placing an order. Not required

Set Up Countries in SAP

To see the entire list of countries in SAP, use the OY01 transaction code.

You can add the name of a country in any language. In the Country Global Parameters table, select the necessary country and click: Menu > Goto > Translation.

If your webstore is multi-lingual, and country names are available in different language in SAP, they will be shown in the Country dropdown list in the selected language.

SAP allows to perform country-specific checks. The system stores postal code formats for the countries. In Sana Admin a webstore administrator can add a postal code field to the customer registration page. If it is required for a customer to enter a postal code during registration in the Sana webstore, then it will be validated based on the rules in SAP.

For more information about country-specific checks in SAP, see Country Table T005.

Set Up Countries for Sana

In SAP you must set up visibility of countries that should be available in your Sana webstore.

Step 1: In the main menu of the Sana add-on, click Webstore Configuration.

Step 2: In the Webstore Id field, select your webstore and click on the Change Webstore Settings button at the top. Expand the Webstore Settings area.

Step 3: In the Visible Countries table, add the necessary countries to the Country Key column. Select the Visible checkbox for all countries that should be available in your webstore.

Step 4: For the correct functioning of the online customer registration, guest checkout and prospect functionality, specify Template Customer for each visible in the webstore country. If some countries are used only for delivery, you can leave the Template Customer field empty for such countries.

The table below provides description of the fields in the Visible Countries table.

Field

Description

Country Key

Select the country that must be available in your Sana webstore.

The two-character ISO code of the country.

Region

Add the states or regions which will be used for customer registration.

If you are doing your business in the country which has states, you can set up states or regions for different countries which are used for customer registration. When a customer registers in the Sana webstore online or places an order and chooses one of the available shipping addresses or enters another shipping address, sales taxes will be calculated for the selected state or region, if configured in SAP.

For more information, see Taxes.

Template Customer

Select the customer template that must be associated with a country. The customer templates must be first created.

This is the customer record that is used as a template when a new customer registers online in the webstore, a guest customer creates an order without registration or sales agent creates an order on behalf of a prospective customer.

The customer template should be predefined with the necessary data for each country, like currency, tax information, etc. This data will be automatically copied from the customer template associated with the country to the newly registered customer, guest customer, or prospect.

Visible Indicates whether a country is visible to a customer in the web store.

Related Articles

B2C Customer Registration
B2C Customer Registration
Guest Checkout
Prospects