Jump to content

Country id by Geo-ip


Recommended Posts

you activated native PrestaShop Geo Location? if yes, then read on

 

1) be careful when you have enabled native PrestaShop Geo Location, geolitecity.dat is 85% accurate at the best of times.  why is this important to note? if IP is not in .dat file then that customer will be denied shopping.

2) if you choose to use native geo location, then you can set a countries currency as follows back office-->localization-->country-->edit a country-->set their default currency

 

be careful with #1 above...please also see my GTPro module.

 

as for what the id is depends on the template, but the country is stored in the cookie post geolitecity.dat look up.  if you are only getting the id of the default country, this probably is a result that IP did not resolve.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...