https://github.com/brianhenryie/bh-wc-postcode-address-autofill
Performs a zipcode lookup to fill the city and state fields on WooCommerce checkouts
https://github.com/brianhenryie/bh-wc-postcode-address-autofill
autocomplete checkout postcode woocommerce zipcode
Last synced: 4 months ago
JSON representation
Performs a zipcode lookup to fill the city and state fields on WooCommerce checkouts
- Host: GitHub
- URL: https://github.com/brianhenryie/bh-wc-postcode-address-autofill
- Owner: BrianHenryIE
- License: gpl-2.0
- Created: 2021-09-24T19:24:48.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-12-04T04:37:53.000Z (over 1 year ago)
- Last Synced: 2025-10-24T17:52:15.535Z (7 months ago)
- Topics: autocomplete, checkout, postcode, woocommerce, zipcode
- Language: PHP
- Homepage:
- Size: 7.74 MB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
[](https://wordpress.org/plugins/bh-wc-postcode-address-autofill) [](https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards) [](https://brianhenryie.github.io/bh-wc-postcode-address-autofill/) [](https://github.com/szepeviktor/phpstan-wordpress)
# Postcode Address Autofill for WooCommerce
Performs a zipcode lookup to autofill the city and state fields. First moves the postcode field above the city and state fields.
Works with WooCommerce Blocks checkout. Postcode data available for the United States (US), India (IN), Ireland (IE) and Japan (JP).


## TODO:
* Send `available_countries` to the frontend to avoid unnecessary lookups
* Move focus to next field (phone) after autofill
* My Account
* JS/TS sourcemap
* Add city suggestions via select2 where postcode is not precise enough
* ~~Shipping addresses~~ v1.4.0
* ~~Serialize data and store in database~~ v1.2.0