Post by Django29 » Mon Feb 05, 2024 4:19 pm

Hello
For a site with customers from only 4 countries (France, Belgium, Luxembourg, Switzerland), how can we block any registration from other countries ?

New member

Posts

Joined
Fri May 16, 2014 4:40 pm

Post by IP_CAM » Mon Feb 05, 2024 5:12 pm


My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by ADD Creative » Mon Feb 05, 2024 5:24 pm

Goto System -> Localisation -> Countries and disable all the countries you don't want. There are quick ways to do that. So best to search the forum.

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by Django29 » Mon Feb 05, 2024 5:56 pm

Thanks. The countries disabled in OC will be blocked ?

New member

Posts

Joined
Fri May 16, 2014 4:40 pm

Post by by mona » Mon Feb 05, 2024 6:11 pm

No they will not be able to register an address from any country not enabled.
The issue with blocking is that a person registered in your country may be on holiday or visiting family in another country.

You can often block countries via your host.
This question has been asked many times and google will provide more details.
https://www.google.com/search?q=opencart+block+country
and the marketplace offers solutions
https://www.opencart.com/index.php?rout ... 0countries

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am
Who is online

Users browsing this forum: No registered users and 9 guests