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
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.