- Active installs
- 2k+
- 14 ratings
- 4.9
- Last updated
- 2 years ago
- Version
- 1.0.10
- Tested up to
- WP 6.8.13
About this plugin
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.
WooCommerce Cart and Checkout Blocks
This plugin is not yet compatible with Blocks.
It works using the legacy shortcodes: [woocommerce_cart] and [woocommerce_checkout].
To make this plugin work, you can use these shortcodes instead of the blocks for your Cart and Checkout pages.
How to add cities
A list of cities has to be loaded in the functions.php file (the plugin already includes cities from some countries).
Use wc_city_select_cities filter to load your cities. This is done similarly to adding states/provinces.
It should be added on your functions.php or a custom plugin.
add_filter( 'wc_city_select_cities', 'my_cities' );
/**
* Replace XX with the country code. Instead of YYY, ZZZ use actual state codes.
*/
function my_cities( $cities ) {
$cities['XX'] = array(
'YYY' => array(
'City ',
'Another City'
),
'ZZZ' => array(
'City 3',
'City 4'
)
);
return $cities;
}
It’s also possible to use a list of cities without grouping them by state:
add_filter( 'wc_city_select_cities', 'my_cities' );
function my_cities( $cities ) {
$cities['XX'] = array(
'City ',
'Another City'
);
return $cities;
}
Github
Source code and contributions at github
Analytics
Live from WordPress.org, refreshed daily. Last refresh Dec 1, 2026.
- Downloads on a typical day are up 23% on the month before.
- Passes 2 of 4 health checks below.
Health checks
What a careful site owner looks at before installing.
- Actively maintained Last release 2 years ago
- Tested with current WordPress Tested up to 6.8.13, 3 releases behind
- Support questions answered Nothing open in the last two months
- Well rated 4.9 stars from 14 ratings
- Latest week
- 152
- Typical week
- 64
- Peak
- 188 Week of Nov 10
View as table
| Week | Downloads |
|---|---|
| Week of Nov 24 | 152 |
| Week of Nov 17 | 163 |
| Week of Nov 10 | 188 |
| Week of Nov 3 | 107 |
| Week of Oct 27 | 102 |
| Week of Oct 20 | 111 |
| Week of Oct 13 | 68 |
| Week of Oct 6 | 75 |
| Week of Sep 29 | 68 |
| Week of Sep 22 | 62 |
| Week of Sep 15 | 63 |
| Week of Sep 8 | 64 |
| Week of Sep 1 | 46 |
| Week of Aug 25 | 48 |
| Week of Aug 18 | 67 |
| Week of Aug 11 | 63 |
| Week of Aug 4 | 77 |
| Week of Jul 28 | 52 |
| Week of Jul 21 | 59 |
| Week of Jul 14 | 46 |
| Week of Jul 7 | 39 |
| Week of Jun 30 | 38 |
| Week of Jun 23 | 39 |
| Week of Jun 16 | 46 |
| Week of Jun 9 | 56 |
| Week of Jun 2 | 59 |
| Week of May 26 | 65 |
| Week of May 19 | 55 |
| Week of May 12 | 43 |
| Week of May 5 | 57 |
| Week of Apr 28 | 65 |
| Week of Apr 21 | 53 |
| Week of Apr 14 | 56 |
| Week of Apr 7 | 63 |
| Week of Mar 31 | 72 |
| Week of Mar 24 | 70 |
| Week of Mar 17 | 70 |
| Week of Mar 10 | 73 |
| Week of Mar 3 | 73 |
| Week of Feb 24 | 64 |
| Week of Feb 17 | 75 |
| Week of Feb 10 | 81 |
| Week of Feb 3 | 71 |
| Week of Jan 27 | 62 |
| Week of Jan 20 | 64 |
| Week of Jan 13 | 69 |
| Week of Jan 6 | 54 |
| Week of Dec 30, 2025 | 43 |
| Week of Dec 23, 2025 | 51 |
| Week of Dec 16, 2025 | 65 |
| Week of Dec 9, 2025 | 71 |
| Week of Dec 2, 2025 | 84 |
One of the 5,000 most popular plugins on WordPress.org. Positions show here once it reaches the top half of a ranking.
Reviews
From folks on WPFolks
No reviews from folks yet. Used it? Be the first to say how it went.
Latest on WordPress.org
It’s a very good plugin, but must be updated for latest wp version. My website is loading very slow. I deactivate the plugin and works fine. I use it with woocommerce. Please update the plugin!
Es un plugin muy valioso, en mi caso lo es, me ayudo muchisimo, ademas el codigo para agregar las ciudades es muy facil de implementar. Me encanto!
Especially after the latest update, greetings from Egypt! ❤
Love it, but this should be update for the new version. it’s good plugin for all users
It should be a core function. Thanks, great job. This topic was modified 7 years, 11 months ago by josemuro.
