cancel
Showing results for 
Search instead for 
Did you mean: 

Geographic IP Address

former_member634278
Participant
0 Kudos

Hello,

Is there any tool on Hybris for Geographic IP address to determine customer's IP address and forward him/her to right store that related to that IP address country.

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

former_member387866
Active Contributor
0 Kudos

Excellent Question Saleh,

As far as I'm aware, and what the wiki tells me, this is not supported out of the box.

The Store Locator Tutorial seems to use the Customer Account Address as the location, then it gets the GPS coordinates from this.

But there are web services that can do this for you, http://freegeoip.net/ is one. Make the REST call and parse the country from the result.

Hopefully this will give you a starting point,
Luke

former_member634278
Participant
0 Kudos

Thank you for this tool .. Anyway , So the detection will be from the proxy server and then it will forward the request or it will be from Hybris server .

former_member387866
Active Contributor
0 Kudos

I'd do the detection at the top of the homepage (index.html), then redirect the user to the correct site, if needed.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hmmm, I wouldn't be using a free web service for a critical piece of functionality to be honest. There are clearly no SLAs in place so performance and stability could be an issue and limit on the number of transactions per hour.

Maxmind is a commercial product that we've used on a number of projects that works well. You can use a web service or run a local database.

former_member387866
Active Contributor
0 Kudos

Good view point, some thing I didn't consider, the availability of the service.