SumeetAnand Posted June 23, 2017 Share Posted June 23, 2017 I think I have tried almost everything .. need your expert guidance! - Downloaded, unzipped, and placed the geo file as per the instructions (v1.7.1.2) - Selected 'Visitors cannot see catalog' for restricted countries - Selected 'All features available' for other countries - Selected only USA for countries accessible ISSUE: However, the store is available with all features to all countries, no restriction. - to test the functionality, selected 'Visitors cannot see catalog' for both restricted and other countries and I can see that the store is unavailable (403 forbidden) to ALL countries. I just need the store be available to USA and 403:forbidden for other countries. What am i missing??? Screenshot below: Link to comment Share on other sites More sharing options...
El Patron Posted June 23, 2017 Share Posted June 23, 2017 (edited) Hi, when testing geo location will not set visitors cookie country if it's already set. How are you testing by country? Note: native PS will disallow 'any' shopping when IP does not resolve. Here is module solution that extends PrestaShop native Geo Location: It has built in country or IP simulator making viewing your shop by county super simple. Been around since 1.4 supports all current versions of PrestaShop. PrestaHeroes Geo Targeting Pro Module. Edited March 19, 2018 by El Patron (see edit history) Link to comment Share on other sites More sharing options...
SumeetAnand Posted June 23, 2017 Author Share Posted June 23, 2017 Thank you for the reply. In order to test the geolocation feature, I am using: https://geopeeker.com/ HOLA Chrome extension I can see visits from various countries tracked in Google Analytics; so the above two approaches seems to visit the site from other countries and are able to view the site fully. Not sure what I can do to make it work! Link to comment Share on other sites More sharing options...
El Patron Posted June 26, 2018 Share Posted June 26, 2018 (edited) Hi, Geo Targeting Pro module has 'country simulator tool' so one can easily test by IP or selected country without resorting to less than perfectly reliable tools. Cheers, el Edited March 14, 2019 by El Patron (see edit history) Link to comment Share on other sites More sharing options...
bartek_p Posted February 27, 2019 Share Posted February 27, 2019 Hello, I wonder if you could help. I wanted to enable geolocation on my store and it is working. But if I want to modify list of the countries that page should be available then it is not allowing me. I am ticking all the boxes next to the countries but after save, it seems to be going back to it's default country selection. Searched forums about the similar problem but no luck. It looks as if it was caching problem but I have cleared the cache as well. Thanks Kind Regards Link to comment Share on other sites More sharing options...
El Patron Posted March 14, 2019 Share Posted March 14, 2019 On 2/27/2019 at 6:16 PM, bartek_p said: Hello, I wonder if you could help. I wanted to enable geolocation on my store and it is working. But if I want to modify list of the countries that page should be available then it is not allowing me. I am ticking all the boxes next to the countries but after save, it seems to be going back to it's default country selection. Searched forums about the similar problem but no luck. It looks as if it was caching problem but I have cleared the cache as well. Thanks Kind Regards not aware of any issue in this area, you can enable ps debug mode (turn off when done) and see if error when saving. I do not recommend using 1) native ps geo location (no shop on unresolved ip's) or 2) limiting by country except for 'very very' special circumstances, you can limit who can purchase by carrier. See our rather famous work in visitors shipping assurance here https://addons.prestashop.com/en/delivery-tracking/42233-visitor-shipping-assurance.html 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