Zen Cart Logo
Forums / General Questions / country list

country list

Locked

Views: 4,597

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
9 Nov 2007, 3:29 PM
#1
kitcorsa avatar

kitcorsa

Totally Zenned

Join Date:
Feb 2007
Posts:
1,724
Plugin Contributions:
0

country list

i want to clear the country list, all i want left is the united kingdom.

how can i do this

10 Nov 2007, 5:30 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: country list

You mean Grandma isn't sending me anything for Christmas this year?! :eek:

12 Nov 2007, 9:40 AM
#3
kitcorsa avatar

kitcorsa

Totally Zenned

Join Date:
Feb 2007
Posts:
1,724
Plugin Contributions:
0

Re: country list

nope i only post uk lol.

so do i have to sit and delete each one bit by bit or can someone give me the mql to delete the contry list then then readd the uk or something??

12 Nov 2007, 10:07 AM
#5
kitcorsa avatar

kitcorsa

Totally Zenned

Join Date:
Feb 2007
Posts:
1,724
Plugin Contributions:
0

Re: country list

yes as from my post back in april i never sat there getting rsd deleting all 259 countries one by one.

12 Nov 2007, 10:15 AM
#6
kitcorsa avatar

kitcorsa

Totally Zenned

Join Date:
Feb 2007
Posts:
1,724
Plugin Contributions:
0

Re: country list

so will this work if i want to delete all then ill just manually re-enter united kingdom?

run this through the sql patch in admin??

DELETE from countries

DELETE from zones

12 Nov 2007, 10:18 AM
#7
drbyte avatar

drbyte

Sensei

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

Re: country list

It would be smarter to delete only the entries you want to remove.
If you delete everything, then all your existing customers and orders will no longer link to the correct country/zone information, causing all sorts of chaos.

That's why it's safer to remove them one at a time ...

12 Nov 2007, 10:35 AM
#8
kitcorsa avatar

kitcorsa

Totally Zenned

Join Date:
Feb 2007
Posts:
1,724
Plugin Contributions:
0

Re: country list

so what can i do to delete all but uk??

only one of my store actally has customers, one is fresh and new and unused so far

12 Nov 2007, 5:20 PM
#9
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: country list

kitcorsa:

nope i only post uk lol.

so do i have to sit and delete each one bit by bit or can someone give me the mql to delete the contry list then then readd the uk or something??

You mean I cannot buy anything for Grandma for Christmas and send it to her in the UK because I live in the US? :eek:

I am gonna get a lump of coal ... :cry:

12 Nov 2007, 8:11 PM
#10
drbyte avatar

drbyte

Sensei

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

Re: country list

kitcorsa:

so what can i do to delete all but uk??

only one of my store actally has customers, one is fresh and new and unused so far

look for the country_id of UK in the countries table, and substitute that number in the example SQL in the post I referenced earlier.

13 Nov 2007, 1:24 PM
#11
kitcorsa avatar

kitcorsa

Totally Zenned

Join Date:
Feb 2007
Posts:
1,724
Plugin Contributions:
0

Re: country list

Ajeh:

You mean I cannot buy anything for Grandma for Christmas and send it to her in the UK because I live in the US? :eek:

I am gonna get a lump of coal ... :cry:

you just change ya address on checkout :P