Maximum Driving Distance
The maximum driving distance method checks if the customer's location is eligible for delivery by checking the address that he put in the widget. That address will need to be within the driving distance you specified in your delivery condition settings
To use this feature, you need a Distance Matrix API key
How to get the API key:
Step 1: Choose or create a new project
Step 2: Create an API key
- 1.Click the menu button and select Google Maps Platform > Credentials
- 2.On the Credentials page, click + Create Credentials > API key
Step 3: Enable Distance Matrix API
- 1.Click the menu button and select APIs
- 2.On the APIs page, choose Distance Matrix API and enable it
You have to own a paid Google Cloud Project to be able to get a valid API key.
You can use the same API key and enable Places API if you also use Store pickup function and want to show your store location on the map.
You will need to enter your key location and pick the maximum driving distance approved to deliver in the delivery conditions setting.
Your customers will need to enter their address in the widget to check if delivery is available
If the address that the customer entered in the widget falls within the driving distance you specified in your delivery condition settings, he will be able to proceed
If the address that the customer entered in the widget is out of the radius you specified in your delivery condition settings, he will be unable to proceed further
Step 1: At the DELIVERY LOCATION VALIDATOR section, tick to choose Maximum driving distance
Step 2: Enter your valid Google API key
Step 3: Type your key location to set the driving distance for
Step 4: Pick the country for your key location
Step 5: Pick the state/city for your key location
Step 6: Tick to choose means of transportation that wouldn't be counted in driving distance
Step 7: Decide to check radius restriction by km or mile and then pick the maximum radius that you allow to deliver
Step 8: Click the Save button
All of the fields must be filled in to have the method make sense. Therefore, kindly complete all fields without omitting any of them.