en Jump to content
  • 0

Get current location


Hi everybody,


I'm trying to do something on my shipping page.


I have 2 carriers configured in the BO


I want to show a specific carrier and customer location in a specific area.


I've made a dynamic Map on Google Maps (with lat / long). This map is divided in two areas. 


What I am trying to do : 


When user is on the shipping page : 


if userlocation == area1 then hide carrier 2

if userlocation == area2 then hide carrier 1

else userlocation != area1, area2 then hide carrier1, carrier2 and show : contact us


Hope this description is clear.


Any ideas ?


Thanks everybody

Share this post

Link to post
Share on other sites

3 answers to this question

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 account

Sign in

Already have an account? Sign in here.

Sign In Now


Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More