Directory / plugin
WC – APG City
v2.2.0 · by Art Project Group
Adds to WooCommerce an automatic city name generated from the postcode.
About this plugin
WC – APG City adds to your WooCommerce store a new automatic city field generated from the postcode via the GeoNames API or the Google Maps API.
Features
- Fully compatible with the Checkout block in the WordPress block editor.
- Includes a local GeoNames database that is downloaded and updated monthly to improve performance and reduce external API queries.
- You can choose between the GeoNames API and the Google Maps API.
- You must add your own Google Maps API Key or GeoNames username.
- Your API credentials are never sent to the browser: every lookup is made by the server.
- You can customize the default text of the select field.
- You can customize the text of the option used to switch to a text field.
- You can block modifications to the city and province (state) fields.
- You can customize the background color of the locked fields.
- If the postcode is shared by more than one city, the customer can select the correct city name from the list returned by GeoNames or Google Maps.
- If the city is not in the list or cannot be found in either API, the customer can manually enter their city name.
- It also selects the province (state), as long as the name matches the one obtained from GeoNames or Google Maps.
- Contextual help on the settings page, explaining every setting without leaving the screen.
Translations
- English: by Art Project Group (default language).
- Spanish: by Art Project Group.
More information
You can learn more about WC – APG City on our official website, and follow the development on GitHub.
You can also read the full documentation, with every setting explained one by one.
Thanks
Thanks to everyone who uses the plugin, helps improve it, makes a donation or encourages us with their comments.
If you find this plugin useful, you can support its development with a small donation.
External Services
-
To the GeoNames services, to download and update, on a monthly basis, the full local database of cities and postcodes, as well as to perform queries to its API when there is no information in the local database.
- It sends the country and the postcode.
- More information: https://www.geonames.org/export/
-
To the Google Maps API, to obtain the city and state/province name from the postcode and country when this option is selected in the plugin settings.
- It sends the country and the postcode.
- More information: https://policies.google.com/privacy