DL India Address Autofill
Autofill Indian city and state fields in WooCommerce checkout forms based on the entered PIN code. This lightweight plugin improves checkout speed, accuracy, and user experience for Indian customers.
by DesignsLabz · github.com/team-designslabz/dl-india-address-autofill · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/team-designslabz/dl-india-address-autofill/archive/refs/heads/main.zipDeclares an update source (https://github.com/team-designslabz/dl-india-address-autofill), so updates arrive through the plugin's own updater.
Readme
📍 DL India Address Autofill
Autofill Indian city and state fields in WooCommerce checkout forms based on the entered PIN code. This lightweight plugin improves checkout speed, accuracy, and user experience for Indian customers.
✨ Features
- Automatically fills City and State fields based on Indian PIN code
- Works for both billing and shipping address sections
- Compatible with all major WooCommerce-compatible themes
- Built using native JavaScript for speed and flexibility
- Detects
<input>or<select>fields and fills accordingly - Prevents WooCommerce from overwriting autofilled fields
- Uses India Post API (no API key required)
✅ Requirements
- WordPress 6.1 or higher
- WooCommerce 6.0 or higher
- PHP 7.4 or higher
📦 Installation
- Download the plugin ZIP or clone the repository to
/wp-content/plugins/ - Activate the plugin via Plugins → Installed Plugins
- Visit your WooCommerce Checkout page and enter a valid 6-digit Indian PIN code
- Watch as the City and State fields auto-populate
❓ FAQ
Does this work for both billing and shipping fields?
✅ Yes! The plugin supports both.
Does it work with select dropdowns for state/city?
✅ Yes, the plugin detects both <input> and <select> types.
Is this compatible with my theme?
It’s built to be WooCommerce-compliant and works with most themes. For custom checkout pages, minor adjustments may be required.
Does it slow down the checkout?
No — it uses a very small, non-blocking JavaScript and a lightweight public API.
Does this store any data?
No. It simply fetches data from the India Post API and fills form fields. No data is stored.
🧩 Changelog
1.0.0 – Initial Release
- Supports billing and shipping address autofill
- PIN-based lookup using India Post API
- DOM observer to fix WooCommerce overwrites
👨💻 Author
DesignsLabz
🔗 DesignsLabz
📧 info@designslabz.com
📄 License
This plugin is licensed under the GNU General Public License v3.0 or later.