Show a dropdown select as the cities input on WooCommerce. Auto set the postcode for selected city.
As of April 2026, RY City Select for WooCommerce is a WordPress city plugin with 2.0K+ active installations and a 4.9/5 rating from 9 reviews. It has been downloaded 35K+ times in total. Requires WordPress 6.7+ and PHP 8.0+. Available on WordPress.org since 2019. Downloads are up 39% this week. Top alternative: Cities Shipping Zones for WooCommerce.
This plubin is based on WC City Select
WooCommerce uses a text input for the customers to enter the city or town.
With this plugin you can provide a list of cities to be shown as a select dropdown.
This will be shown in checkout pages, edit addresses pages and shipping calculator if it’s configured that way.
After selected the city or town, auto set the postcode number if is defined.
A list of cities can be added in your theme functions.php file.
Use ry_wc_city_select_cities filter to load your cities.
This is done similarly to Add/Modify States.
It should be added on your functions.php or a custom plugin.
add_filter( 'ry_wc_city_select_cities', 'my_cities' );
/**
* Replace XX with the country code. Instead of YYY, ZZZ use actual state codes.
* The City list can…五顆星~
Good plugin, but the names of cities in my country Armenia are incorrect, please correct it.
The list of cities in Armenia can be found on wikipedia site in the search you need to type “List of cities and towns in Armenia”
it’s not much, only 49 pieces. please fix in zip archive \geonames-org-data\cities\AM.php
太感動了,裝了立即可用。
使用KadenceTheme
Works very well!!!
| WordPress | 6.7+ requiredTested up to 6.9.4 |
| PHP | 8.0+ required |
= 2.1.11 – 2025/12/07=
* Fixed – When country change maybe set error city info.
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.