Sri Lankan Cities for WooCommerce WordPress Plugin Skip to content
Sri Lankan Cities for WooCommerce icon

WordPress plugin

Sri Lankan Cities for WooCommerce

Adds Sri Lanka's 25 districts to WooCommerce checkout, suggests cities for the chosen district, and autofills postal codes.

By Thushara Lakshan80+ active installs5.0 out of 5
Active installs
80+
Rating
5.0 / 5
Version
1.0.0
Last updated
Jul 3, 2026
Tested up to
WordPress 7.0.8
Requires
WP 6.5 · PHP 7.4

Health check

Is Sri Lankan Cities for WooCommerce safe to rely on?

Our reading of the public WordPress.org data: maintenance, compatibility, ratings and support.

Actively maintained

Last updated on July 3, 2026. Regular updates usually mean bugs and security reports get fixed.

Not yet tested with the latest WordPress

Tested up to WordPress 7.0.8. It often still works, but check on staging first.

Few ratings so far

Only 1 ratings on WordPress.org, so the average is not yet a reliable signal.

Requires PHP 7.4 or newer

Check your hosting PHP version before installing. Modern PHP is faster and receives security fixes.

Rank tracker

Where Sri Lankan Cities for WooCommerce ranks in WordPress.org search

Its position in WordPress.org plugin search for its tags and name, refreshed weekly so you can see how its visibility changes.

WordPress.org search positions for Sri Lankan Cities for WooCommerce
KeywordPositionChangeTrendCurrent #1
checkout
districts
postcode
sri lanka
woocommerce
sri lankan cities

Checked against the top 100 WordPress.org search results.

Overview

What Sri Lankan Cities for WooCommerce does

WooCommerce ships Sri Lanka with no districts and the State field hidden. This plugin makes checkout work the way Sri Lankan addresses actually work: 101, Main Street, Negombo, Gampaha, 11500, Sri Lanka.

Adds all 25 districts as a required District dropdown, keyed by ISO 3166-2:LK codes so couriers and shipping plugins interoperate.

Suggests cities for the selected district while the customer types — 288 verified cities across all 25 districts.

Autofills the postal code when a known city is picked — still editable, and it never overwrites a code the customer typed themselves.

Lets you build district-based shipping zones (WooCommerce → Settings → Shipping → Add zone → pick districts).

Works on both the classic (shortcode) checkout and the block checkout.

No external services. No data leaves your site, nothing is tracked, no account is needed.

Description from the author's listing. Read the full listing on WordPress.org

Screenshots

Sri Lankan Cities for WooCommerce in action

Classic checkout — the required District dropdown with all 25 Sri Lankan districts.
Classic checkout — the required District dropdown with all 25 Sri Lankan districts.
Pick a known city and the postal code fills in automatically — shipping switches to the matching district zone.
Pick a known city and the postal code fills in automatically — shipping switches…
The block checkout is fully supported: district, city suggestions and postcode autofill.
The block checkout is fully supported: district, city suggestions and postcode autofill.

FAQ

Sri Lankan Cities for WooCommerce: questions and answers

What is Sri Lankan Cities for WooCommerce?

Sri Lankan Cities for WooCommerce is a WordPress plugin by Thushara Lakshan. Adds Sri Lanka's 25 districts to WooCommerce checkout, suggests cities for the chosen district, and autofills postal codes.

Is Sri Lankan Cities for WooCommerce free?

Sri Lankan Cities for WooCommerce is listed in the WordPress.org plugin directory, so the version there is free to download and use. Some authors also sell paid add-ons or a premium edition with more features and support.

How many websites use Sri Lankan Cities for WooCommerce?

WordPress.org reports 80+ active installations of Sri Lankan Cities for WooCommerce. That figure counts sites running the WordPress.org version and is rounded down by WordPress.org.

Is Sri Lankan Cities for WooCommerce still maintained?

Sri Lankan Cities for WooCommerce was last updated on July 3, 2026. The current version is 1.0.0. Check the changelog on WordPress.org and test updates on a staging site before applying them to a live site.

What does Sri Lankan Cities for WooCommerce require?

Sri Lankan Cities for WooCommerce requires WordPress 6.5 or newer and PHP 7.4 or newer. It has been tested up to WordPress 7.0.8.

Can Codefreex set up or customize Sri Lankan Cities for WooCommerce?

Yes. Codefreex installs, configures and customizes WordPress plugins including Sri Lankan Cities for WooCommerce, fixes conflicts and performance problems, and builds custom features when a plugin does not do exactly what you need. Send your site URL for a free review.

Free expert review

Need Sri Lankan Cities for WooCommerce set up, customized or fixed?

Tell us about your site and what you need this plugin to do. A senior WordPress developer replies within one business day with a plan and a quote.

Built this plugin yourself? We help WordPress product teams with development, support load and growth. Talk to us