prestaseller Posted October 29, 2021 Share Posted October 29, 2021 Hi let me explain better. I would need to block one or perhaps more cities or regions of Italy, so that no one can see the site from that particular region or city. I can't find a way to do it, is it feasible? If yes, how do you do it? Link to comment Share on other sites More sharing options...
Nickz Posted October 29, 2021 Share Posted October 29, 2021 44 minutes ago, prestaseller said: I would need to block one or perhaps more cities or regions of Italy, Should you somehow get your hands on the IP ranges, yes, you can make it happen. You need to be aware that most countries use a dynamic IP System, that means for you you need to up to date. Link to comment Share on other sites More sharing options...
El Patron Posted October 29, 2021 Share Posted October 29, 2021 Hi, our geo targeting prod module supports maxmind precision city. learn more here. We or other developer could then depending on city or other GEO information returned take your requested action. do you only want to hide the site or would you prefer to show the products but remove the capability to shop, i.e. remove add to cart for example? Link to comment Share on other sites More sharing options...
prestaseller Posted October 30, 2021 Author Share Posted October 30, 2021 21 hours ago, Nickz said: Should you somehow get your hands on the IP ranges, yes, you can make it happen. You need to be aware that most countries use a dynamic IP System, that means for you you need to up to date. Thanks for answer. I really don't know how to do...is there a tutorial? Link to comment Share on other sites More sharing options...
Nickz Posted October 30, 2021 Share Posted October 30, 2021 (edited) 7 hours ago, prestaseller said: I really don't know how to do...is there a tutorial? Stackoverflow is your friend https://stackoverflow.com/questions/23087472/blocking-a-city-or-region-from-website Its 7 years old so handle with care. Always have a backup. Edited October 30, 2021 by Nickz (see edit history) Link to comment Share on other sites More sharing options...
El Patron Posted November 4, 2021 Share Posted November 4, 2021 On 10/29/2021 at 12:54 PM, El Patron said: Hi, our geo targeting prod module supports maxmind precision city. learn more here. We or other developer could then depending on city or other GEO information returned take your requested action. do you only want to hide the site or would you prefer to show the products but remove the capability to shop, i.e. remove add to cart for example? Again this is best option, outr module is only one that provides city. Then we can code from that as you wish. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now