Skip to Content

Geographic IP Address

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Oct 01, 2014 at 07:44 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 01, 2014 at 10:19 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.