Active installations80Adoption metric — not a quality score
WordPress.org rating5.0 / 5 from 1 ratings
Official packageDirect from WordPress.org
Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →
WP PlugIndex currently records Sri Lankan Cities for WooCommerce version 1.0.0 as active, updated 4mo ago and tested up to WordPress 7.0.
Overview
About this plugin
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.
WordPress.org metadata
Plugin tags
Topics listed for this plugin in the WordPress.org directory.
sri lanka
checkout
districts
postcode
woocommerce
Compatibility & maintenance
Compatibility & maintenance
Tested up to WordPress 7.0
Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 7.0.
Current WordPress releaseWordPress 7.1
WordPress.org Tested up to7.0
Minimum requirementsWordPress 6.5 · PHP 7.4
Update activity3 Jul 20264mo ago
“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.
Changes recorded by WP PlugIndex
Recent tracked changes
No tracked version or compatibility changes have been recorded by WP PlugIndex yet.
Tracking & source
WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.