跳到内容

BD Address Fields for WooCommerce

v1.0.0

shofiullah · 2026年9月13日 上架

District and Thana/Upazila dropdowns for the WooCommerce checkout in Bangladesh. 64 districts, 620 thanas, including metropolitan areas.

正在使用
30+
评分
暂无
累计下载
371
最近更新
2026年9月13日
需要 WordPress 6.5+已测试到 7.1.5PHP 7.2+

贡献者

Bangladeshi stores usually ask customers to type their thana or upazila into a
free text box. Customers spell it differently every time, delivery staff have
to guess, and couriers reject addresses they cannot match.

This plugin replaces that text box with a dropdown. The customer picks a
District, and the Thana / Upazila list updates instantly to show only
the areas inside that district.

Complete, current data

  • All 64 districts, using the official English spellings adopted in 2018:
    Chattogram, Cumilla, Barishal, Jashore and Bogura.
  • 620 thanas and upazilas in total.
  • Metropolitan police thanas are included alongside rural upazilas for Dhaka,
    Chattogram, Khulna, Rajshahi, Sylhet, Gazipur, Narayanganj, Barishal and
    Rangpur. A customer in Mirpur, Uttara, Panchlaish or Sonadanga can select
    their actual area rather than the nearest rural upazila.

Built for real stores

  • Works on the checkout, My Account address forms, and the cart shipping
    calculator.
  • Nothing is preselected. The district field prompts “Please select district”
    and the thana field prompts “Please select district first” until a district
    is chosen, then “Please select thana”.
  • Districts WooCommerce would otherwise prefill from your shop base address or
    IP geolocation are cleared, so a customer outside your own city is never
    quoted the wrong delivery charge because they skimmed past a guessed field.
    A returning customer’s own saved address is left untouched.
  • Declares compatibility with WooCommerce High-Performance Order Storage
    (HPOS) and the Cart and Checkout Blocks features.
  • Adds no database tables, no settings page, and no admin bloat. The data ships
    as plain PHP arrays, so there are no extra queries on the checkout.
  • Around 3 KB of gzipped data is added to the checkout page, loaded only where
    address fields are actually rendered.

Data sources

District and thana names are cross-checked against the Dhaka Metropolitan
Police station directory and public Bangladesh administrative division records.

Credits

This plugin is a derivative work distributed under the GNU General Public
License v2 or later.

  • The states and places architecture, and the cascading select script, come
    from the WC City Select plugin, https://wordpress.org/plugins/wc-city-select/
  • The Bangladesh adaptation, “Thana/Upazila Dropdown for Woocommerce
    [Bangladesh]”, is by Md Rasel Khan,
    https://github.com/immdraselkhan/Thana-Upazila-Dropdown-for-Woocommerce-Bangladesh

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums