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
Views: 4,597
Totally Zenned
i want to clear the country list, all i want left is the united kingdom.
how can i do this
Oba-san
You mean Grandma isn't sending me anything for Christmas this year?! :eek:
Totally Zenned
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??
Sensei
Searching on the topic brings up many posts that contain various queries one might use. Here's one such: http://www.zen-cart.com/forum/showthread.php?t=74816
In fact, didn't you already do that back in April?
http://www.zen-cart.com/forum/showthread.php?t=62912
Totally Zenned
yes as from my post back in april i never sat there getting rsd deleting all 259 countries one by one.
Totally Zenned
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
Sensei
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 ...
Totally Zenned
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
Oba-san
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:
Sensei
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.
Totally Zenned
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
Tell staff why this post should be reviewed.