Skip to content
OpenCart · User manual

Quick n Easy Checkout

Version 5.10.2 Product page
Chapter 6

Address forms

The Addresses tab controls the billing and delivery forms: which fields appear, in which order, with which texts and validation, for guests, new accounts and logged-in customers.

General options

The first block of the tab holds options that apply to both forms.

SettingDefaultWhat it does
"Same address" checked by defaultOnTicks the Same delivery and billing addresses box for guests, so they fill in one address only. They can untick it to enter a different delivery address.
Form validations in popupsOffShows the validation errors of the forms in a popup. It works only with forms that are shown on the page, not with forms that already open in a popup.
Order comment requiredOffMakes the comment box of the Confirm order panel compulsory.
Geo IP LocalizationOffThe first time a shopper opens the checkout, the country and region are preselected from the shopper's IP address. See below.
Google address autocompleteEmptyYour Google API key. When it is filled, the address field suggests addresses from Google Maps as the shopper types. See below.
Phone maskEmptyA pattern for the telephone field, one per language, for example (00) 0000-0000. Each 0 stands for a digit. Empty means no mask.
Post code maskEmptyA pattern for the post code field, one per language, for example 00000-000. Empty means no mask.

Geo IP Localization

To find the country, the extension sends the shopper's IP address to the free geoplugin.net service from your server. If the country cannot be found, your store's default country and region from the OpenCart settings are used. Mention this service in your privacy policy if you turn the option on.

Google address autocomplete

Click How to get Google API key under the field for the steps. In short:

  1. Open the Google Maps Platform from the link in the instructions and create or choose a project.
  2. Set up a billing account for the project. Google requires one for this service.
  3. Create an API key, and restrict it to your shop's domain.
  4. Enable the Places API for the project.
  5. Paste the key in Google address autocomplete and click Apply changes.

The key is stored in a password-type field, so it is hidden on screen.

The two forms

The tab then shows two tables:

  • Payment address form - also used as the registration form: the billing address. It is also the form a shopper fills in when creating an account in the checkout.
  • Delivery address form - only used for guest purchases: the delivery address of guests who untick Same delivery and billing addresses. Logged-in customers pick a delivery address from their address book instead.

Each row is one field. Drag a row up or down to change the order of the fields in the shop.

Columns of the tables

ColumnWhat it does
LabelThe text above or inside the field, one per language.
PlaceholderThe grey hint inside an empty field, one per language.
RuleThe validation the field must pass. See the list of rules below.
Error messageThe message shown when the validation fails, one per language.
GuestTwo switches for guests: Status shows or hides the field, and Rule applies the validation or not.
RegisterThe same two switches for shoppers who create an account. Only in the billing form.
LoggedThe same two switches for logged-in customers. Only in the billing form.

A field marked as validated shows an asterisk next to its label in the shop.

The delivery form has only the Guest column.

Validation rules

RuleThe field must
- No validation rule -Nothing; any value is accepted.
Not emptyNot be empty.
Between 1-32 charactersHave 1 to 32 characters.
Between 2-10 charactersHave 2 to 10 characters.
Between 3-32 charactersHave 3 to 32 characters.
Between 4-20 charactersHave 4 to 20 characters.
Between 2-128 charactersHave 2 to 128 characters.
Between 3-128 charactersHave 3 to 128 characters.
Contain one numberContain at least one digit.
Valid email formatBe a valid e-mail address.

The fields

The rows are recognised by their default label. The table lists them in their default order.

FieldDefaultNotes
Customer groupHiddenBilling form only. Lets the shopper choose a customer group. It has a Status switch for Guest and for Register; a group is always required when it is shown.
First Name, Last NameShown, Between 1-32 characters
E-MailShown, Valid email formatBilling form only. Logged-in customers do not see it; their account e-mail is used.
TelephoneShown, Between 3-32 charactersBilling form only, for guests and new accounts.
FaxHiddenBilling form only, for guests and new accounts.
CompanyHidden
Address 1Shown, Between 3-128 characters
Address 2Hidden
CityShown, Between 2-128 characters
Post CodeShown, Between 2-10 characters
CountryShown, Not emptyThe countries of your shop. Choosing one reloads the regions.
Region / StateShown, Not emptyThe regions of the chosen country.
Password, ConfirmShownBilling form only, Register column only.
I wish to subscribe to the Your Store newsletterShownThe newsletter box. Billing form only, Register column only. Instead of Rule it has a Checked switch, on by default, that ticks the box in advance.
I have read and agree to the Privacy PolicyShown, Not emptyBilling form only, for guests and new accounts. Each column also has a Checked switch, off by default. See below.

Privacy policy box

The label contains [link]Privacy Policy[/link]. The words between the two tags open a popup with the information page you chose as Account Terms in the Option tab of your OpenCart settings. Keep the tags when you translate the label. The link is created only when an Account Terms page is set.

The default texts are in English (or Russian when your administration is in Russian). Translate the Label, Placeholder and Error message of each field for every language of your shop.

OpenCart custom fields

On OpenCart 2.0 and later, the custom fields you create in Customers > Custom Fields appear as extra rows at the end of the tables. For these rows:

  • the Label comes from OpenCart and cannot be changed here;
  • you can write an Error message per language;
  • you can drag the row to place the field among the others.

Whether a custom field is shown and required follows its OpenCart settings, including the customer groups it applies to. Change those settings in Customers > Custom Fields.

Still need help?

Open a support ticket from your account and our team will look at your store with you.