Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / How do I allow Registration & Check Out in only 1 country?

How do I allow Registration & Check Out in only 1 country?

Locked

Views: 1,270

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
10 Mar 2010, 12:55 PM
#1
joomoo79 avatar

joomoo79

New Zenner

Join Date:
Feb 2009
Posts:
33
Plugin Contributions:
0

How do I allow Registration & Check Out in only 1 country?

Hi,

Silly question... I want to sell only in the US... Logically enough, I don't want customers to have a pulldown menu to select their country when they regsiter a new account.

Is there a way to do that from the admin panel and I missed it?
If not, how can I safely achieve that?

Thanks! :cool:

10 Mar 2010, 1:04 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: How do I allow Registration & Check Out in only 1 country?

If you'll never want to sell outside the US, the easiest way is probably to back up your database, then run this in Admin - Tools - Install SQL Patches :

DELETE from countries WHERE countries_iso_code_3 NOT IN('USA');

That will remove all countries except USA. Then go to Admin - Locations/Taxes - Zones and manually remove Alaska and Hawaii (and some others like Puerto Rico), depending if you want to sell there.

You could also set up a US-only shipping zone, but I don't think that will stop people from outside the US from creating accounts.

20 Mar 2010, 3:35 PM
#3
xbox_memberships avatar

xbox_memberships

Zen Follower

Join Date:
Jan 2010
Posts:
157
Plugin Contributions:
0

Re: How do I allow Registration & Check Out in only 1 country?

same here but i only want to sell to the uk
whats the country code for the uk?

20 Mar 2010, 3:44 PM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: How do I allow Registration & Check Out in only 1 country?

It's GBR.

20 Mar 2010, 3:47 PM
#5
xbox_memberships avatar

xbox_memberships

Zen Follower

Join Date:
Jan 2010
Posts:
157
Plugin Contributions:
0

Re: How do I allow Registration & Check Out in only 1 country?

so id enter....

DELETE from countries WHERE countries_iso_code_3 NOT IN('GBR');

Where will i find the file to backup?