Add or Edit State

Description

This page is for editing the existing or adding a new one State to the webshop localization.

QA

Link to the tests

Common components

Zones / Countries / States Tabs

There are 3 Navigation Pills UI Kit tabs in the UI:

  • Zones

  • Countries

  • States (active)

Notifications

If the webshop is on All shops context, there will be a blue notification message (Alerts Basics UI Kit) Note that this feature is available in all shops context only. It will be added to all your stores.

States section

The block starts with the globe-style icon and the title States.

Name

DescriptionValueError message

Mandatory

YES

The name field is required.

Allowed/Forbidden values

-

-

Default value

Prefilled or empty field.

-

Help text

-

-

Tool tips

Provide the state name to be displayed in addresses and on invoices.

-

Lower limit

-

-

Upper limi

-

-

Behavior

-

ISO code

DescriptionValueError message

Mandatory

YES

The iso_code field is required.

Allowed/Forbidden values

Symbols like @#$ etc. are forbidden.

-

Default value

Prefilled address name.

-

Help text

-

-

Tool tips

1 to 4 letter ISO code. You can prefix it with the country ISO code if needed.

-

Lower limit

-

-

Upper limi

Max 4 characters

The iso_code field is invalid.

Behavior

-

Country

DescriptionValueError message

Mandatory

YES

-

Allowed/Forbidden values

-

-

Default value

Argentina, or other editing value.

-

Help text

-

-

Tool tips

Country where the state is located. Only the countries with the option "contains states" enabled are displayed.

-

Lower limit

-

-

Upper limi

-

-

Behavior

-

Zone

DescriptionValueError message

Mandatory

YES

-

Allowed/Forbidden values

-

-

Default value

Africa, or other editing value.

-

Help text

-

-

Tool tips

Geographical region where this state is located.

-

Lower limit

-

-

Upper limi

-

-

Behavior

-

Status

DescriptionValueError message

Mandatory

YES

-

Allowed/Forbidden values

-

-

Default value

Enabled

-

Help text

-

-

Tool tips

-

-

Lower limit

-

-

Upper limit

-

-

Behavior

-

Behavior descriptions

Name behavior

Forms Normal UI Kit component. This input field allows naming the State.

ISO code behavior

Forms Normal UI Kit component. This input field allows naming the ISO code.

Country behavior

Dropdowns Basics UI Kit component. This input field allows defining the country for the State.

Zone behavior

Dropdowns Basics UI Kit component. This input field allows defining the zone for the State.

Status behavior

Forms Switch Story UI Kit component. This component Enables or Disables the State showing in the webshop.

Multistores functionality

This page is Multistores dependent page.

Last updated