The WPFolks app is out on iPhone and Android. Free, no ads. Download on the App Store Get it on Google Play
Skip to main content
Login Join
Free WooCommerce

WC City Select

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.

Top 5,000 on WordPress.org Plugin rankings
  • Downloads on a typical day are up 23% on the month before.
  • Passes 2 of 4 health checks below.
2/4

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
Active installs
2,000+ WordPress.org rounds this down
This week
152 downloads −6.7% vs the week before
Last 30 days
644 downloads +23% on a typical day
All time
46k downloads On WordPress.org since 2015
Downloads per week Every update counts as a download on WordPress.org, so release weeks spike.
Latest week
152
Typical week
64
Peak
188 Week of Nov 10
View as table
WeekDownloads
Week of Nov 24152
Week of Nov 17163
Week of Nov 10188
Week of Nov 3107
Week of Oct 27102
Week of Oct 20111
Week of Oct 1368
Week of Oct 675
Week of Sep 2968
Week of Sep 2262
Week of Sep 1563
Week of Sep 864
Week of Sep 146
Week of Aug 2548
Week of Aug 1867
Week of Aug 1163
Week of Aug 477
Week of Jul 2852
Week of Jul 2159
Week of Jul 1446
Week of Jul 739
Week of Jun 3038
Week of Jun 2339
Week of Jun 1646
Week of Jun 956
Week of Jun 259
Week of May 2665
Week of May 1955
Week of May 1243
Week of May 557
Week of Apr 2865
Week of Apr 2153
Week of Apr 1456
Week of Apr 763
Week of Mar 3172
Week of Mar 2470
Week of Mar 1770
Week of Mar 1073
Week of Mar 373
Week of Feb 2464
Week of Feb 1775
Week of Feb 1081
Week of Feb 371
Week of Jan 2762
Week of Jan 2064
Week of Jan 1369
Week of Jan 654
Week of Dec 30, 202543
Week of Dec 23, 202551
Week of Dec 16, 202565
Week of Dec 9, 202571
Week of Dec 2, 202584
Where it stands Rank among the plugins WPFolks tracks every day.

One of the 5,000 most popular plugins on WordPress.org. Positions show here once it reaches the top half of a ranking.

Active installs over time Recorded by WPFolks every day since Oct 14, 2026.

Reviews

4.9 14 ratings on WordPress.org
  • 5 13
  • 4 1
  • 3 0
  • 2 0
  • 1 0

From folks on WPFolks

No reviews from folks yet. Used it? Be the first to say how it went.

Log in to leave a review

Latest on WordPress.org

[WC City Select] Good, but must be updated
floartgraphy · November 25, 2024

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!

[WC City Select] ESTUPENDA, EXCELENTE
vallesierra7 · November 12, 2024

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!

[WC City Select] Love it
kanzaw · December 20, 2019

Love it, but this should be update for the new version. it’s good plugin for all users

[WC City Select] Core function
josemuro · December 5, 2018

It should be a core function. Thanks, great job. This topic was modified 7 years, 11 months ago by josemuro.

Proudly supported by