WC – APG City


IMPORTANT: WC – APG City isn’t compatible with Microsoft Internet Explorer 11 or previous.

WC – APG City add to your WooCommerce shop a new automatic city field generated from postcode via GeoNames API or Google Maps API.


  • You can select from GeoNames or Google Maps API.
  • You must add your own Google Maps API Key.
  • You can customize the default text of the selection field.
  • You can customize the text of the option to reload a text field.
  • If postcode is shared by more than one city, the customer can select the correct city from the list returned by Google Maps.
  • If the city isn’t listed or isn’t found in both APIs, the customer can manually enter the name of his city.
  • Also select the state, only when name matches with obtained from Google Maps.
  • You can block the modification of the city and province fields.


Technical support

Art Project Group offers Technical support to configure or install WC – APG City.


WC – APG City has been programmed from Thekla Kurpjuweit request to add to WooCommerce automatic city name input from the postcode.

More information

On our official website you can learn more about WC – APG City.


Don’t forget to leave us your comment on:

More plugins

Remember that you can find more plugins for WordPress and more plugins for WooCommerce on Art Project Group and our profile on WordPress.


You can follow the development of this plugin on Github.



Since WC – APG City is totally free, Art Project Group only provides payment Technical Support service. In any case Art Project Group provide any kind of free technical support.


Did you liked and you have proved useful WC – APG City on your website? We would appreciate a small donation that will help us to continue improving this plugin and create more plugins totally free for the entire WordPress community.


  • To all that use it.
  • All that you help to improve it.
  • All you made donations.
  • All that you encourage us with your comments.

Thank you very much to all!


  • Screenshot of WC – APG City.
  • Screenshot of WC – APG City. Billing and shipping forms.


  1. You can:
    • Upload the wc-apg-city folder to /wp-content/plugins/ directory via FTP.
    • Upload the full ZIP file via Plugins -> Add New -> Upload on your WordPress Administration Panel.
    • Search WC – APG City in the search engine available on Plugins -> Add New and press Install Now button.
  2. Activate plugin through Plugins menu on WordPress Administration Panel.
  3. Ready, now you can enjoy it, and if you like it and find it useful, make a donation.


Configuration is needed?

Just select between GeoNames and Google Maps API, and add your own Google Maps API Key.

Which API is better?

It depends on many factors but which has given the best results to us is GeoNames API. However, if no result is found in the selected API, it will search again in the other API.


If you need help to configuring or installing WC – APG City, Art Project Group offers its service Technical Support.

In any case Art Project Group provides any kind of free technical support.


ماي 14, 2024
Thank you very much for this plugin which adds functionality that should be natively integrated into Woocommerce. Very simple to set up and works very well ! I was really happy to find your plugin.
مارس 18, 2020 1 reply
Hello APG-Team, I would like to thank you very much for the development of this plugin, which, as far as I know, is the only one to overcome this lack on WooCommerce! I give you five stars to encourage your great work. There are a few small details that I will share with you soon for a possible improvement of the plugin. Have a nice day and take care of yourselves in these difficult times.! Best Regards, Sylvain
Read all 3 reviews

Contributors & Developers

“WC – APG City” is open source software. The following people have contributed to this plugin.


“WC – APG City” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “WC – APG City” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.


  • Minor fix.

  • Minor fix.


  • Added new functionality to block fields. Update sponsored by Gardiun.
  • New JavaScript functions and controls.
  • Screenshot updated.

  • Header updated.
  • Stylesheet updated.
  • Screenshot updated.

  • Minor fix.


  • Two new fields have been added to customize texts.

  • Minor fix.

  • Minor fix.


  • JavaScript issue fix.

  • Minor fix.


  • Minor fix.

  • Minor fix.

  • Minor fix.

  • Minor fix.

  • Minor fix.

  • Added WooCommerce 3.4 compatibility.

  • Header updated.
  • Stylesheet updated.
  • Screenshot updated.


  • Minor fix.
  • New screenshot.


  • Added Google Maps API Key.
  • Added automatic search in both APIs in case of no results in the selected API.
  • Added the replacement of the select field by an input field if no results are found in either API.
  • Added option in the select field that replaces it by an input field to enable the customer manually enter his city.
  • Minor fixes.

  • Fixed localization.

  • Support for multisite installations.

  • Fixed GeoNames API support.


  • GeoNames API support over iThemes Security.

  • Avoid running on Microsoft Internet Explorer 11 or previous.


  • Added JavaScript to My Account form fields.


  • Added select field self-opening with multiple cities.


  • Fixed JavaScript bugs.


  • Cloning original CSS class field.


  • Fixed websites with SSL certificate incompatibility.


  • Added GeoNames API support.
  • New settings screen for select API.
  • New screenshot.


  • New call to Google Maps API.


  • Fixed JavaScript bugs.
  • Added state name selection.


  • Initial version.