In Shop-Script you can freely set up the amount and order of fields which should or must be completed during checkout. Tools for managing fields used for entering customer's contact information are available in backend screen “Settings → Checkout” in section “Contact information”.
By default there is a standard set of contact fields in this section (“First name”, “Last name”, “Phone”, “Company”, etc.), which you can modify, delete, or use “as is” or also add extra fields of various types to the contact form.
When you add a new field, you are offered to chose its type. There are several types of checkout form fields:
- Text (input): one-line text field
- Text (textarea): multi-line text field
- Number (input); one-line text field accepting only numbers
- Selectable (radio): fixed list of values displayed in storefront as radio buttons; customer can select only one value from the list
- Selectable (select); fixed list of values displayed in storefront as a drop-down list; customer can select only one value from the list
- Conditional (select/input)
Text & number
The operating principle of the first 3 field types is easy to understand; they allow customers to enter arbitrary text value.
Select & radio
Field types “Selectable (radio)” и “Selectable (select)” allow the online store owner to enter a fixed list of values for customers to choose from (e.g.: subway stations, sex, customer type: individual/corporate, etc.).
In addition to the visual appearance of these fields there is a substantial difference between them. Fields of type “Selectable (radio)” allow you to manage the visibility of all other contact fields (except for address fields) using the “Advanced settings” option.
Field type “Conditional (select/input)” is somewhat similar to “Selectable (select)”, because it also offers customers a list of values to choose from. However, the contents of this list may depend on the value of another contact field.
For example, if your online store delivers orders to different cities which have a subway line then, depending on the specified city name, the appropriate list of subway stations will be offered to customer. In this example online store owner can save multiple lists of subway station names, each for the corresponding city name. Read more about setting up conditional contact fields →
Contact field editing
All available contact fields can be modified: set as mandatory, disabled or enabled, renamed, deleted, set different values.
Any contact field can be set as mandatory so that customers cannot continue the checkout before they enter or select a value.
If you do not need some of the available fields for a while, you can simply disable them without deleting them. Even if a a field is disabled, you can see its values in backend screen “Customers”.
Instead of disabling a field you can delete it. Important note: All previously entered values of the field you are about to delete will also be deleted without the option to restore them!
Fields offering value lists allow editing each value in the field-editing mode.
Fixed values of address fields
The list of checkout form fields consists of 2 basic groups: contact fields and address fields. Similar to contact fields, address fields can also be disabled if you do not need to request certain data from your customers. For example, if your online store delivers orders within one country, there is no need to request the country name from your customers.
If you do not request a value of a certain address field, you may set a default (fixed) value for that field. The default fixed value is not displayed in the checkout form but its value is nevertheless saved in customer details.
In addition to that, if the selected value of one field (e.g., “Country”) defines the value list of another address field (e.g., region list in “Region” field), then you can disable field “Country” and select some default fixed value for that field (e.g., “United States”) in order to display the list of regions of that specific country (USA states).