Forums / General Questions / only accepting Australian addresses

only accepting Australian addresses

Views: 486

Results 1 to 3 of 3
18 Jan 2013, 1:36 AM
#1
chickster avatar

chickster

New Zenner

Join Date:
Jan 2013
Posts:
1
Plugin Contributions:
0

only accepting Australian addresses

I want to restrict the user registering an address outside Australia so by searching around it seemed to be the easiest option to delete all the countries from the Locations list. I've managed to delete all but one, i.e. I'm left with Australia and one other. I go to Admin: Location/Taxes: Countries, select the one I want to delete and click the delete button. I get an "are you sure" confirmation, I click the delete button to confirm but then it isn't deleted. I seem to remember reading somewhere that there has to be more than one country for the drop down list to appear - is this what's preventing the deletion? Is there a better way around only accepting Australian addresses?

18 Jan 2013, 5:39 AM
#2
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: only accepting Australian addresses

chickster:

I want to restrict the user registering an address outside Australia so by searching around it seemed to be the easiest option to delete all the countries from the Locations list.

You shouldn't really have done that. One day you might decide you do wish to sell to non-Australians after all (why wouldn't you?), which means you'll be back here asking how to restore all the countrys that you've deleted.

chickster:

I've managed to delete all but one, i.e. I'm left with Australia and one other. I go to Admin: Location/Taxes: Countries, select the one I want to delete and click the delete button. I get an "are you sure" confirmation, I click the delete button to confirm but then it isn't deleted. I seem to remember reading somewhere that there has to be more than one country for the drop down list to appear - is this what's preventing the deletion?

Quite probably. If so, you could add New Zealand back into the list..... after all, everyone knows "AustraliaAndNewZealand" are the same place on the map :)

chickster:

Is there a better way around only accepting Australian addresses?

Not that I know of (without custom coding), and even if there is, it may not do you a whole lot of good. If a customer elects to checkout using PayPal express they don't even get to register their address in the store, as this is sent to the store from PayPal, which will circumvent any 'local' address restrictions.

Your best option (In my opinion) is to make use of the zone setting to limit/restrict where you'll accept payments from, and where you are willing to ship too.
If people can't pay, or if you won't ship, they aren't likely to register. Problem solved :)

Cheers
Rod

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

18 Jan 2013, 6:12 AM
#3
drbyte avatar

drbyte

Sensei

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

Re: only accepting Australian addresses

A search for "countries" in the plugins library brings up these, which might be worthy of consideration:
http://www.zen-cart.com/downloads.php?do=file&id=1424
http://www.zen-cart.com/downloads.php?do=file&id=841

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.