PageForge 1.3: check every run before it writes, update generated pages, spintax and resumable batches. See what changed
Account Get it free
Sri Lankan Cities for WooCommerce icon
Maintained Tested up to 7.0.9

Sri Lankan Cities for WooCommerce

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

Active installs90+10+ tier
Downloads · 30d182▲ +19.7% vs prev. 30d
Rating5/51 reviews
Health score60/100Fair
All-time downloads638Since Jul 2026
Support resolved—No recent threads
RequiresWP 6.5PHP 7.4+
Downloads · 7d49▲ +40% week over week
Our verdict

Use with caution

Sri Lankan Cities for WooCommer… works, but test it on a staging site before relying on it in 2026. It runs on 90+ sites, is rated 5/5 and was last updated 5 months ago, and scores 60/100 on our health check.

  • Small user base (90+ active installs)
  • Very few reviews so far

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

258Aug 27Oct 10Nov 24
Yesterday6
Daily average (1y)4
Peak day35Jul 3, 2026
Last 12 months640

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where Sri Lankan Cities for WooCo… stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
checkout >100 10,000 Best checkout plugins →
districts #4 172 Best districts plugins →
postcode #37 715 Best postcode plugins →
sri lanka #1 54 Best sri lanka plugins →
woocommerce >100 10,000 Best woocommerce plugins →

Version adoption

Share of active sites per release.

  • 1.0100.0%

Rating breakdown

★★★★★★★★★★ 5 from 1 reviews

  • 5★100.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About Sri Lankan Cities for WooCommerce

From the official readme · v1.0.0

Description

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.

Safety and design

  • No external services. No data leaves your site, nothing is tracked, no account is needed.
  • No AJAX endpoints, no database writes, no extra checkout fields — WooCommerce validates the district server-side automatically.
  • Everything fails safe: without WooCommerce the plugin does nothing; with JavaScript blocked, the district dropdown still works and city/postcode are normal manual fields.
  • Block-checkout updates go through WooCommerce’s official wp.data store API.

Data provenance

Every autofilled postal code was verified against Sri Lanka Post and independent directories (July 2026). Cities whose codes could not be fully verified are left out — for those, the city field simply works as a plain text box.

Installation

  1. Install and activate from Plugins → Add New Plugin (or upload the zip via Upload Plugin).
  2. WooCommerce 8.9 or newer must be active.
  3. Done — districts, city suggestions and postcode autofill work immediately on checkout. The plugin has no settings page of its own; the Settings link on the Plugins screen takes you to WooCommerce’s shipping settings, where the districts appear as zone regions.

Upgrading from the code-snippet version: if you previously installed this as a snippet (FluentSnippets, a child theme’s functions.php, or an mu-plugin file), remove that copy BEFORE activating the plugin. Both loaded at once causes a duplicate-function PHP error.

Changelog

If you used the old code-snippet version, remove the snippet before activating the plugin — both at once causes a duplicate-function error.

1.0.0

  • Initial release: 25 districts at checkout, 288-city suggestions, postcode autofill, district shipping zones, classic + block checkout.

Full changelog on WordPress.org →

Screenshots

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 to the…
The block checkout is fully supported: district, city suggestions and postcode autofill.
The block checkout is fully supported: district, city suggestions and postcode autofill.
Ship by district — districts appear as regions in WooCommerce → Settings → Shipping.
Ship by district — districts appear as regions in WooCommerce → Settings → Shipping.

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best Sri Lankan Cities for WooComm… alternatives

All checkout plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 Brazilian Market on WooCommerce Brazilian Market on WooCommerce Adds Brazilian checkout fields in WooCommerce by Claudio Sanches 60K+ ★★★★★★★★★★ 4.8 (515) 3 years ago 36
2 reCAPTCHA for WooCommerce reCAPTCHA for WooCommerce Add Google reCAPTCHA to your WooCommerce Checkout, Login, and Registration Forms. 100% free! by Elliot Sowersby / RelyWP 40K+ ★★★★★★★★★★ 4.6 (76) 2 weeks ago 78
3 FunnelKit – Funnel Builder Plugin for WooCommerce Checkout FunnelKit – Funnel Builder Plugin for WooCommerce Checkout Create high-converting WooCommerce checkout pages, thank you pages & sales funnels with the… by FunnelKit 30K+ ★★★★★★★★★★ 5 (1K) 4 days ago 95
4 Fluid Checkout for WooCommerce – Lite Fluid Checkout for WooCommerce – Lite Fluid Checkout is a free WooCommerce checkout plugin to help more shoppers finish their… by Diego Versiani 20K+ ★★★★★★★★★★ 4.9 (159) 6 days ago 79
5 Amazon Pay for WooCommerce Amazon Pay for WooCommerce Install the Amazon Pay plugin for your WooCommerce store and take advantage of a seamless… by WooCommerce 10K+ ★★★★★★★★★★ 2.5 (27) 4 weeks ago 75
6 PayTR Sanal POS WooCommerce – iFrame API PayTR Sanal POS WooCommerce – iFrame API PayTR üyeliğiniz ile WooCommerce üzerinden ödeme almanız için gerekli altyapı. by PayTR Ödeme ve Elektronik Par… 10K+ ★★★★★★★★★★ 3.2 (10) 1 day ago 55
7 Kustom Checkout for WooCommerce Kustom Checkout for WooCommerce The leading checkout in the Nordics, built for higher conversion and returning shoppers… by Kustom Checkout 10K+ ★★★★★★★★★★ 3.5 (15) 4 hours ago 68
8 Autocomplete Address for WooCommerce Autocomplete Address for WooCommerce Preencha automaticamente o endereço a partir do CEP no checkout do WooCommerce. by Fernando Acosta 7K+ ★★★★★★★★★★ 4.8 (24) 1 month ago 88
9 Checkout Files Upload for WooCommerce Checkout Files Upload for WooCommerce Let your customers upload files on (or after) WooCommerce checkout. by WP Wham 7K+ ★★★★★★★★★★ 4.4 (14) 2 weeks ago 86
10 Campos Checkout Brasileiro para WooCommerce Campos Checkout Brasileiro para WooCommerce Brazilian checkout fields: CPF/CNPJ, address number, neighborhood and phone, with automatic… by Link Nacional 5K+ ★★★★★★★★★★ 4.9 (46) 7 days ago 93

FAQ

Sri Lankan Cities for WooCommerce: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is Sri Lankan Cities for WooCommer… free?

Yes. Sri Lankan Cities for WooCommer… is free to download and use from the official WordPress.org plugin directory.

Is Sri Lankan Cities for WooCommer… safe to use in 2026?

Sri Lankan Cities for WooCommer… works, but test it on a staging site before relying on it in 2026. It runs on 90+ sites, is rated 5/5 and was last updated 5 months ago, and scores 60/100 on our health check.

How many websites use Sri Lankan Cities for WooCommer…?

Sri Lankan Cities for WooCommer… is active on 90+ WordPress websites and has been downloaded 638 times since it launched in July 2026. It was downloaded 182 times in the last 30 days.

Does Sri Lankan Cities for WooCommer… work with WordPress 7.1?

Sri Lankan Cities for WooCommer… is officially tested up to WordPress 7.0.9, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

What PHP version does Sri Lankan Cities for WooCommer… need?

Sri Lankan Cities for WooCommer… requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Sri Lankan Cities for WooCommer… last updated?

The latest version, 1.0.0, was released on July 3, 2026 (5 months ago).

Who makes Sri Lankan Cities for WooCommer…?

Sri Lankan Cities for WooCommer… is developed and maintained by Thushara Lakshan.

What are the best alternatives to Sri Lankan Cities for WooCommer…?

The most popular alternatives to Sri Lankan Cities for WooCommer… are Brazilian Market on WooComm… (60K+ installs), reCAPTCHA for WooCommerce (40K+ installs) and FunnelKit (30K+ installs).

Powered by PageForge

One template and a spreadsheet. A real page for every search.

PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.

  • CSV and XLSX, plus Google Sheets on Professional and Enterprise
  • Its own title, URL, SEO fields and schema for every page
  • Works with the block editor, Elementor, Divi and Avada
  • Free on WordPress.org, no credit card

↑↓ to move↵ to open