Countries and Zones in Opencart

In Opencart 3 we can add countries and their zones, zones are state or region as per country. For adding countries go to admin >> System >> Localization >> Countries and for adding countries’ zones go to admin >> System >> Localization >>Zones. These countries and zones are used in the Shipping address, Payment address and while registering as the guest checkout to add the shipping address.

You can see the lists of countries at admin >> System >> Localization >> Countries in Opencart 3.

Countries in Opencart

To add a new country click the “Add New” blue button and enter the detail.

edit or add countries in Opencart

Country Name: Enter the country name.

ISO Code (2): Enter the country code provided at https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2

ISO Code (3): Enter the country code provided at https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3

Address Format: You can format the address as per your need as per the country. For example, we add following in the address format field for “Aaland Islands” country:

First Name = {firstname}
Last Name = {lastname}
Company = {company}
Address 1 = {address_1}
Address 2 = {address_2}
City = {city}
Postcode = {postcode}
Zone = {zone}
Zone Code = {zone_code}
Country = {country}

Now when we select the shipping or billing address country “Aaland Islands” then it will show like below:

First Name = Rupak
Last Name = Nepali
Company = Axway
Address 1 = 6735 East Greenway Pkwy
Address 2 = Apt 2159
City = Scottsdale
Postcode = 85254
Zone =
Zone Code =
Country = Aaland Islands
Shipping and billing address format in Opencart

In this way, you can format the shipping address and billing address as per the country.

Zones or Regions or States management in Opencart

Once we entered the countries we can enter the zones of those countries. For that go to admin >> System >> Localization >>Zones where you can see the lists of zones or regions or states.

Zones or Region or States in Opencart

We can add new zone as well for that click the “Add New” blue button and you will see a form similar to below:

Edit or Add Zones or Region or States in Opencart

Zone Name: Enter the zone name

Zone code: You can find the Zone code at https://www.iso.org/obp/ui/#iso:code:3166:NP, search for the country and it will give lists of zones or region or states and you can see the Zone code.

Country: Select the country the zone is related to.

Status: Enabled it to enable and disabled it to disable.

You can see the country and state mostly at the billing address and shipping address.

Billing address in Opencart

In this way, we can manage the countries, zones or states or regions in Opencart 3. Please don’t forget to post your questions or comments so that we can add extra topics. You can follow us at our twitter account @rupaknpl, subscribe to our YouTube channel for opencart tutorials, and click to see all Opencart user manual.

LEAVE A REPLY

Please enter your comment!
Please enter your name here