Linux 软件免费装

Pinora Address Autofill for Indian PIN Codes

开发者 wuyizz
更新时间 2026年6月4日 14:05
PHP版本: 5.0 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

address autocomplete woocommerce checkout indian pincode pincode autofill india pin code

下载

1.0.0

详情介绍:

Pinora Address Autofill enhances address forms by automatically filling the State and City fields as soon as a valid 6-digit Indian PIN code is entered. No more manual typing, no more typos — just instant, accurate address data. Why choose this plugin? How it works:
  1. Customer types a 6-digit Indian PIN code in the postcode field.
  2. After the configured number of digits (default: 3), the plugin triggers a lookup.
  3. State and City fields are instantly populated from the built-in local index.
  4. If the PIN code is not in the local index, the plugin falls back to the postalpincode.in API with WP Transient caching as a safety net.

安装:

  1. Upload the pin-code-autocomplete folder to /wp-content/plugins/, or install via the WordPress Plugins screen.
  2. Activate the plugin through the 'Plugins' menu in WordPress.
  3. That's it. No API keys, no configuration — it works out of the box.
Requirements: WooCommerce is recommended for the best experience. The plugin can work with other forms via custom selectors (see FAQ).

常见问题:

Does it work without WooCommerce?

Yes. By default the plugin targets WooCommerce selectors (#billing_postcode, #billing_city, etc.), but you can customize the selectors using filters — see the developer hooks in pin-code-autocomplete.php.

Does it support countries other than India?

No. This plugin is specifically built for the Indian 6-digit PIN code system with pre-loaded India Post data.

What happens if the PIN code is not found?

An inline error message appears below the postcode field, and the State/City fields remain editable for manual entry.

Do I need an internet connection?

No. Nearly all lookups are served from the built-in local pincode index. The postalpincode.in API is only used as a last-resort fallback for PIN codes not in the local database.

Can I update the pincode data?

Yes. Replace data/pincodes.csv with an updated India Post dataset and run the build script (scripts/build_pincode_index.py) to regenerate the index.

更新日志:

1.0.0