WP Manifestindependent plugin directory
manifest / ecommerce / google-autocomplete-for-woo

Google Address Autocomplete for WooCommerce

A plugin that integrates Google address autocomplete with WooCommerce

★ 2stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/senadir/google-autocomplete-for-woo/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

A dead-simple WordPress plugin that adds Google Places address autocomplete to WooCommerce checkout. Calls Google's API directly from the browser - no server-side proxy needed.

Features

  • Just 2 files - one PHP, one JS
  • Calls Google Places API directly from the frontend
  • Works with WooCommerce's native address autocomplete system
  • Supports both shortcode and block-based checkout
  • Country restrictions support
  • Zero dependencies beyond WooCommerce

Requirements

  • WordPress 5.8+
  • WooCommerce 10.3+
  • PHP 7.4+
  • Google Places API key

Installation

  1. Get Google API Key

    • Go to Google Cloud Console
    • Create a project
    • Enable Places API (New)
    • Create an API key
    • Restrict to your domain (recommended)
  2. Install Plugin

    cd wp-content/plugins
    git clone [your-repo] google-address-autocomplete

    Or upload via WordPress admin

  3. Activate

    • Go to Plugins in WordPress admin
    • Activate "Google Address Autocomplete for WooCommerce"

Configuration

Step 1: Enable WooCommerce Address Autocomplete

  1. Go to WooCommerce → Settings → Advanced → Features
  2. Check "Address Autocomplete"
  3. Save changes

Step 2: Configure Google Settings

  1. Go to WooCommerce → Settings → General
  2. Scroll to "Google Address Autocomplete" section
  3. Check "Enable Google Autocomplete"
  4. Paste your Google API Key
  5. (Optional) Add country restrictions: US,CA,GB
  6. Save changes