Documentation Address Autocomplete & Maps for WooCommerce

Address Autocomplete & Maps for WooCommerce

Version 1.0.0 · Updated April 2026

Requirements

Before installing Address Autocomplete & Maps, ensure your environment meets these requirements:

⚠️ A Google Cloud account with billing enabled is required. Google offers a free monthly credit ($200 USD) which covers typical usage for most stores. You will only be charged if your usage exceeds the free tier.

Installation

Method 1 — Upload via WordPress Admin (Recommended)

  1. Download the plugin .zip file from your My Account downloads page.
  2. In your WordPress admin, go to Plugins → Add New Plugin.
  3. Click Upload Plugin at the top of the page.
  4. Click Choose File, select address-autocomplete.zip, and click Install Now.
  5. Once installed, click Activate Plugin.

Method 2 — FTP Upload

  1. Unzip address-autocomplete.zip on your local computer.
  2. Connect to your server via FTP (FileZilla, Cyberduck, etc.).
  3. Upload the extracted address-autocomplete folder to /wp-content/plugins/.
  4. In WordPress admin, go to Plugins → Installed Plugins and activate Address Autocomplete & Maps for WooCommerce.

Licence Activation

  1. Go to WooCommerce → Address Autocomplete → Licence.
  2. Enter the CA- licence key from your purchase confirmation email.
  3. Click Activate Licence.

Your licence key is also available from My Account → Orders on coreaddons.com.

Google API Key Setup

This plugin relies on the Google Places API for address suggestions and the Maps JavaScript API for the map preview. Follow these steps to obtain and configure your API key:

  1. Go to the Google Cloud Console at console.cloud.google.com.
  2. Create a new project or select an existing one.
  3. Navigate to APIs & Services → Library.
  4. Search for and enable the following APIs:
    • Places API (for address autocomplete suggestions)
    • Maps JavaScript API (for the embedded map preview)
    • Geocoding API (recommended, for resolving full address components)
  5. Go to APIs & Services → Credentials and click Create Credentials → API Key.
  6. Click Restrict Key and under API restrictions, select the three APIs above. Under Application restrictions, add your domain to HTTP referrers to prevent unauthorised usage.
  7. Copy the API key — you will enter it in the plugin settings.

Restricting your API key to your domain is strongly recommended. An unrestricted key exposed in the page source can be misused, leading to unexpected billing charges.

Entering Your API Key

Once you have your Google API key:

  1. Go to WooCommerce → Address Autocomplete → Settings.
  2. Paste your key into the Google API Key field.
  3. Click Save Settings.

The plugin immediately tests the key and displays a green confirmation notice if the key is valid and the required APIs are enabled. If the key fails validation, a warning is shown with a link to the relevant Google Cloud documentation.

Enabling Autocomplete Fields

You can enable autocomplete independently for billing and shipping addresses. Go to WooCommerce → Address Autocomplete → Settings → Fields.

When a customer starts typing in the address line 1 field, a dropdown of matching suggestions appears. After selecting a suggestion, the following fields are auto-filled:

Address Line 2 is intentionally left blank so the customer can add apartment, suite, or unit numbers manually.

Country Restrictions

By default, the autocomplete suggests addresses from all countries. You can restrict suggestions to specific countries to improve relevance and reduce API usage costs.

  1. Go to WooCommerce → Address Autocomplete → Settings → Restrictions.
  2. In the Restrict to Countries field, type and select the countries you want to allow. You can add multiple countries.
  3. Click Save Settings.

Google's Places API supports restricting to up to 5 countries at once. If you sell to more than 5 countries, leave this setting blank to allow worldwide suggestions.

Restricting to a smaller set of countries also reduces your API usage, which keeps costs lower if your store has high checkout traffic.

Map Display

After a customer selects an address from the autocomplete dropdown, an embedded Google Map can appear below the address fields to give a visual confirmation of the selected location.

To configure: go to WooCommerce → Address Autocomplete → Settings → Map.

The map updates automatically each time a new address suggestion is selected. If the customer types a new address manually without using the autocomplete, the map does not update until a suggestion is selected.

Block Checkout Support

Address Autocomplete & Maps is compatible with both the classic WooCommerce shortcode checkout ([woocommerce_checkout]) and the modern WooCommerce block-based checkout introduced in WooCommerce 8.x.

Block checkout support is enabled automatically — no additional configuration is required. The plugin detects which checkout type is active and loads the appropriate integration.

⚠️ Some third-party checkout plugins and page builders implement their own address fields that may not be compatible. If autocomplete is not appearing, check the Troubleshooting section below.

Compatibility

Troubleshooting

Autocomplete dropdown is not appearing

First, confirm your API key is saved and shows a green validation notice in WooCommerce → Address Autocomplete → Settings. Then open your browser's developer console (F12) and look for any JavaScript errors mentioning "Google" or "Places". The most common cause is an API key that has not had the Places API enabled, or an HTTP referrer restriction that blocks your domain.

Fields are not being filled after selecting a suggestion

This usually means the Geocoding API is not enabled in your Google Cloud project. Enable it in Google Cloud Console → APIs & Services → Library → Geocoding API and re-save your API key in the plugin settings.

Map preview is not showing

Ensure Show map preview is enabled in the Map settings tab. Verify that the Maps JavaScript API is enabled in your Google Cloud project. Also confirm you do not have a Content Security Policy (CSP) header blocking maps.googleapis.com.

Autocomplete works on billing but not shipping

Check that Enable on Shipping Address is enabled in the Fields settings. Also confirm that the WooCommerce setting Ship to a different address is available at checkout — go to WooCommerce → Settings → Shipping → Shipping options and ensure "Force shipping to the customer billing address" is not checked.

I am being billed unexpectedly by Google

Restrict your API key to your domain in the Google Cloud Console under Credentials → Edit Key → Application restrictions. Also check that your key has not been shared or committed to a public repository.

Changelog

Version 1.0.0 — April 2026

Still need help?

Our support team responds within 24 hours on business days. Email us at support@coreaddons.com and include your site URL, licence key, and a description of the issue for the fastest response.

Contact Support