Jump to content

How can I ask customer where they are from?


Recommended Posts

It is, but it's definitely not easy.

You need to create a new module that will accept the input (I suggest ZIP-based), then save it to the cookie object.

If the cookie exists, you override the stockAvailable class to retrieve quantities from the closest warehouse based on the zip range (this will be the trickiest part, you might need to use the google maps api for distance)

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