🗺️Creating a Google Maps API key

1. New Google Cloud users

To create a Google Maps API key, follow:

Step 1. Visit Google Maps Platform page and click Get started

Step 2. Verify your Account Information and fill in Payment details to add your business

Step 3. Copy the API Key and check Enable all

Step 4. Go to Google Maps Platform and choose "Maybe later" to not add a restriction

2. Exisiting Google Cloud User

Step 1. Visit Google Maps Platform page and click Get started

Step 2. Click My First Project and choose New Project

Step 3. Add a Project Name and Billing account and click Create.

Step 4. Click Select project and then click Keys & Credentials

Step 5. Copy the API Key and check Enable all

Step 6. Go to Google Maps Platform and choose "Maybe later" to not add a restriction

3. Use case

After having a valid API key, you can use this key to activate feature for Store pickup location and Delivery distance restriction.

3.1. Store Pickup Map

Step 1. Navigate to General Settings and click Advanced Settings, then choose Enable Google Map

Step 2. Paste your API key

Step 3. If you have added an API key successfully, it will appear here

As a result, your storefront will look like this:

3.2. Local delivery distance restriction

Step 1. Navigate to General Settings and click Advanced Settings, then choose Local Delivery Validation

Step 2. Paste your API Key

Step 3. After successfully adding API key, choose the unit you want to measure distance in

Step 4. Go to Location and edit Delivery settings to choose maximum distance you want to set

In the storefront, 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 radius 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

Last updated

Was this helpful?