AbanteCart Community

Shopping Cart Operations => Support => Topic started by: Loreto on October 06, 2013, 01:42:42 PM

Title: Some countries in zones off, then...
Post by: Loreto on October 06, 2013, 01:42:42 PM
Hi, I put come countries in the zones configuration off, then I guess that then , if someone tries to register from those conuntries, they cannot do, is that correct? or I must delete the countries from the list

The thing I want is that only people from a few countries can buy in my shop.

Thank you.
Title: Re: Some countries in zones off, then...
Post by: abantecart on October 06, 2013, 09:20:27 PM
If you want to exclude countries from customers registration, you need to remove them from system completely.

You need to remove zones related to the country first  system -> localization -> zones

And country next. system -> localization -> countries
Title: Re: Some countries in zones off, then...
Post by: llegrand on October 06, 2013, 11:49:21 PM
In removing the zones,  is there some better way to remove unwanted zones?   There are almost 400 Pages
and the best I can see is to increase the number shown on a page  to 50,  click the Master check box to turn all of them on,  then one by one uncheck any you want to keep and then select deleted.

If one only wants 2 or 3 countries this is quite a task.

What database(s) contain the zones and countries?  If one is knowledgeable in accessing the database
this would be a faster method.

Title: Re: Some countries in zones off, then...
Post by: abantecart on October 07, 2013, 09:02:52 AM
You can delete from ac_countries and ac_zones (watch for prefix)

Remember to clear cache!!!
Title: Re: Some countries in zones off, then...
Post by: llegrand on October 07, 2013, 09:52:11 AM
Thank you, that should make it quicker.

Good reminder on the clearing of the Cache,  I wouldn't have remember that.
Title: Re: Some countries in zones off, then...
Post by: Loreto on October 07, 2013, 10:44:43 AM
Ok, thank you
Title: Re: Some countries in zones off, then...
Post by: Loreto on October 11, 2013, 03:51:06 PM
A curiosity, once you delete the countries, if someone for those deleted coutries acces to your site, what can he/she see?, a normal site and cannot register, what message do  they recieve ?
Title: Re: Some countries in zones off, then...
Post by: abantecart on October 11, 2013, 09:18:54 PM
There will be no county option shown. If customer is already registered, they will not see any country in the address profile