How to import a list of states for any country in nopCommerce

Previously, if a store owner / admin had to add a list of states for any country where they would like to sell their products / services, the only way to accomplish that was adding each state one by one.

Yes, the process have always been quite tedious and time consuming as there was no other way to add number of states in nopCommerce out of the box.

nopCommerce 3.50 is just released and a feature has been added in the administration section which allows store owners to import a list of states for any country.

Today, we will be going over the process of importing number of states for one or more countries.

Go to: Administrator > Configuration > Countries

Now you need a prepare a template for import. A simple way to do this is by geiting a sample file by exporting existing states (click “Export states to CSV” button) and save the file as .CSV.

Once you have the  template, you will setup your import list by adding country code, states for the country code.

For example: If US is the country then you will add states like this –

US Alaska
US Arizona
US Hawaii
US Florida

You have other columns to in which you will specify True & “1”.

After you complete your list, you are ready to import. Simply click on the button “Import states from CSV”

After a successful import, your states should be in the list of countries respectively.

Looking for quality nopCommerce Web Hosting? Look no further than Arvixe Web Hosting!

Tags: , , , , , | Posted under nopCommerce | RSS 2.0

Author Spotlight

Lavish Kumar

Founder, developer and owner of StrivingProgrammers.com - By profession, he is a software programmer / web developer, web designer & DBA. He is passionate about technology and electronic gadgets. He enjoys writing tech articles and developing web applications. He is a nopCommerce MVP and author of official nopCommerce Designer's Guide.

Leave a Reply

Your email address will not be published. Required fields are marked *