WooCommerce
The getAddress() Address Autocomplete plugin adds Australian address autocomplete from G-NAF to WooCommerce, on the block checkout and the classic [woocommerce_checkout] checkout. It is free; look-ups come from your getAddress() plan.
The plugin is in review for the wordpress.org plugin directory. Until it is listed, email support@getaddress.io for the zip.
What it does
- Address autocomplete at checkout — billing and shipping, through WooCommerce's own address autocomplete. Picking an address fills the street, unit, suburb, state and postcode.
- Missing unit numbers — pick a building with units without one and the apartment line opens and asks for it.
- PO Boxes — no street suggestions for a PO Box, Locked Bag or parcel locker, and an optional rule refusing them for delivery.
- States delivered to — refuse Australian delivery addresses outside the states and territories you choose.
- Business names in the Company field, from the Australian Business Register, with the ABN. Free: picking one makes no look-up.
- My Account — the same suggestions when customers edit their saved addresses.
- Order address check — each new order's delivery address is checked against G-NAF in the background; an address that doesn't exist, a building missing its unit or a PO Box gets a private order note and a G-NAF column in Orders.
Set up
- Install and activate the plugin. WooCommerce 9.9 or later.
- Open WooCommerce → Settings → getAddress() and press Connect getAddress(). Sign in, or sign up free, and allow your shop. The plugin is given a domain token for your shop's domain and an API key of its own on your default subscription, and address autocomplete is switched on.
- Tick the options you want: business names, My Account, PO Boxes, states delivered to, order address check.
Prefer not to connect? Paste a domain token for your shop's domain and, for the order address check, your API key, then switch on Address autocomplete under WooCommerce → Settings → General.
Disconnecting
Disconnect on the plugin's settings page, or under Connected shops in your console, stops the shop's key and domain token at once.
Costs
Suggestions and business names are free. Each address a shopper picks is one look-up, and so is each order whose address is found. A PO Box is recognised without a look-up, and an address that isn't found costs nothing.
Privacy
What a shopper types is sent from their browser to the API to answer it and is not kept. The order check sends only the delivery address (street, suburb, state, postcode), never a name, email or phone number. See the privacy policy.