Import locations

To import location data from a CSV file, you must prepare the file according to the following rules:

Your CSV file should contain 5 columns, with the first row serving as the header. Here’s an example:

id region country iso_code2 state
1 Asia Afghanistan AF Badakhshan
2 Asia Afghanistan AF Badghis
3 Asia Afghanistan AF Baghlan
4 Asia Afghanistan AF Balkh
5 Asia Afghanistan AF Bamyan
6 Asia Afghanistan AF Daykundi
7 Asia Afghanistan AF Farah
8 Asia Afghanistan AF Faryab
9 Asia Afghanistan AF Ghazni
10 Asia Afghanistan AF Ghōr
11 Asia Afghanistan AF Helmand
12 Asia Afghanistan AF Herat
13 Asia Afghanistan AF Jowzjan
14 Asia Afghanistan AF Kabul

SucShop provides a default dataset of major cities around the world, which you can view on the Locations page in the admin panel.
If you accidentally delete some cities and want to restore the default location data, you can import this CSV file. Please note that uploading a new CSV file will remove all existing location data.

locations.csv

Do not modify the order or names of the columns — the format must remain exactly the same.