Delivery validation: Delivery max driving distance
Kurvi Kansagra
Last Update il y a 4 mois
With our delivery validation feature, you can verify if the customer is eligible for delivery. Depending on the postcodes entered in the widget, a matching delivery location will be selected.
The Delivery max driving distance method verifies the address entered in the widget. That address must be within the driving distance you entered in your location settings for the customer to be able to check out.
Inside GAF - Store Pickup & Delivery APP click Settings navigation

Please scroll down to the Distance validation section. Select the "Delivery max driving distance" option. Also, Add the Google Map API Key

Select whether the driving route should avoid highways, tolls, or ferries.

Select the route options:
- The fastest route will assess traffic conditions and select the fastest route at the time of entering the address.
- The shortest route will always select the shortest possible route.

Once you configure it, Click Save!
The distance is the actual driving distance from your store location to the customer's address.

Add Max driving distance in a location
Go to Locations, Add or Edit existing location

Inside Local Delivery section. you can see the Max Distance field, enter a distance in KM

Once you configure it, Click Save!
Set Max distance in all of the locations that offer local delivery.
When selecting the Local Delivery method, the customer will see the address field on the widget. They can fill in their address and search it. A success or error message will appear indicating whether the address is within the location's driving distance or not.

If the address is not within driving distance, they will get an error and not be able to proceed to checkout.

Enable the "Enable address autocompletion" checkbox in Local delivery setting

The customer will see auto populated addresses which Google suggests.
