Jump to content

Get current location


juandres

Recommended Posts

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

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...