Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / Re-Adding countries in one by one question

Re-Adding countries in one by one question

Views: 629

Results 1 to 3 of 3
29 Sep 2011, 1:39 PM
#1
linnx avatar

linnx

Zen Follower

Join Date:
Jun 2009
Posts:
187
Plugin Contributions:
0

Re-Adding countries in one by one question

When I first started using Zen Cart a few years back, I only wanted to ship to the USA so I deleted everything else. I've added a few countries in manually, but it is time consuming.

Is there a way to quickly add in 1 additional country at a time?

Could I just import, say Australia today, then Japan tomorrow?

If so, could someone show me how to do that?

Using ZC 1.3.9h

Thanks!

29 Sep 2011, 4:07 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Re-Adding countries in one by one question

Find the INSERT INTO countries section in the zc_install sql file for mysql_zencart.sql and copy-paste those into your phpMyAdmin.

If you start adding them in any other way you'll end up with mismatched country_id values in all your customer/address records, and then things will be out of sync.

30 Sep 2011, 12:50 AM
#3
linnx avatar

linnx

Zen Follower

Join Date:
Jun 2009
Posts:
187
Plugin Contributions:
0

Re: Re-Adding countries in one by one question

Thanks! Is there something similar for provinces, or do those have to be added manually?

Having this for all the European countries would be really nice.. And Australia.

If not, we will do it manually.. but I figured I'd ask.

Thanks a lot