BD Address Fields for WooCommerce
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 ,
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.