Configuring the location selector widget
For consistency, we recommend that you use the same configurations for both the Order Checkout widget and Location Selector widget.
- Sign in to the web shop with site editor credentials.
- On the Location Selector widget, select Options > Configuration.
-
Specify this information:
- Checkout Target Page
- Specify the name of the checkout page. The Location Selector widget is disabled on the page that you specify.
- Distance Unit
- If you are displaying a Google Map, specify the unit of measure to use to measure distance between the user's location and the stores.
- Distance Calculation Mode
- If you are displaying a Google Map, specify how to calculate the
distance between the user's location and the stores. To calculate
the distance based on driving directions, select Driving Distance.
The distance measurement is displayed next to each store in the
Store Location List widget. Note that Google charges a usage fee for
this option. See https://developers.google.com/maps/documentation/distance-matrix/usage-and-billing.
To calculate the distance based on a straight line between the user's location and the stores, select Point to Point Distance. If you select this option, distance measurements are not displayed in the Store Location List widget.
The default setting for this configuration is Point to Point Distance.
- Click Save.
- Navigate to the Order Checkout page.
- On the Order Checkout widget, select Options > Configuration.
- Specify the same configurations that you entered in step 4.
- Click Save.