AU Suburb & Postcode Lookup for WooCommerce

Description

Many Australian shipping plugins need the suburb to match the postcode exactly before they show rates. This plugin makes that easy for customers:

  1. The customer types a 4-digit Australian postcode.
  2. The plugin looks up the suburbs for that postcode in its built-in list of Australian postcodes.
  3. A dropdown of matching suburbs replaces the suburb field.
  4. The customer picks their suburb and WooCommerce recalculates shipping.

Works on these fields:

  • Checkout billing postcode billing suburb/city
  • Checkout shipping postcode shipping suburb/city
  • Cart shipping calculator postcode suburb/city

No configuration is needed. A Clear Suburb Cache button is available under Settings AU Suburb Lookup.

Postcode data

The plugin includes a list of Australian postcodes and suburbs in data/au_postcodes.csv. All lookups happen on your own server: the plugin does not connect to any external service and does not send any data off your site.

Postcode data from GeoNames, licensed under the Creative Commons Attribution 4.0 License. The data is provided “as is” without warranty of accuracy, timeliness or completeness.

Installation

  1. Upload the plugin folder to /wp-content/plugins/, or install it from Plugins Add New.
  2. Activate the plugin through the Plugins screen.
  3. Make sure WooCommerce is active. No further setup is needed.

FAQ

The dropdown doesn’t appear

Check the browser console for JavaScript errors and make sure your theme uses the standard WooCommerce field IDs (billing_postcode, billing_city and so on).

It says “No suburbs found”

The postcode may be missing from the bundled list. Customers can still type their suburb manually.

Does the plugin contact any external service?

No. Suburbs are looked up in the postcode list included with the plugin.

What format are suburbs saved in?

Suburbs are saved in capital letters (for example SOUTHBANK), which matches what most Australian carriers expect.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“AU Suburb & Postcode Lookup for WooCommerce” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.3.0

  • Suburbs now come from a built-in list of Australian postcodes. The plugin no longer contacts external services.

1.2.0

  • Fixed a reload loop after choosing a suburb.
  • Fixed styles not applying to the suburb dropdown.
  • Translatable strings, safer input handling and cache clean-up on uninstall.

1.1.0

  • Added fallback lookup services and the bundled CSV fallback.