Linux 软件免费装
Banner图

viralmaisuriyaa Delivery Pincode Checker

开发者 viralmaisuriyaa
更新时间 2026年10月6日 11:43
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

shipping woocommerce delivery cash on delivery pincode

下载

详情介绍:

Let visitors check delivery availability before ordering. Configure country-specific postal codes, prefixes, numeric ranges or country-wide rules with delivery availability, estimated minimum/maximum calendar days and cash on delivery availability. Features: Important: This plugin displays store-wide delivery information only. It does not restrict checkout, shipping zones, shipping methods or payment gateways. COD information does not enable WooCommerce COD. Product-specific, cart-specific and courier live estimates are not included. Configure WooCommerce shipping/payment separately. There is no default coverage. Unlisted pincodes show delivery unavailable. Estimates use calendar days from today; holidays, dispatch cutoff times and working-day calculations are not included.

安装:

  1. Upload the ZIP via Plugins > Add New > Upload Plugin, then activate it.
  2. Open Settings > Delivery Pincode Checker.
  3. Paste your actual service rules, one CSV row per line, without a header.
  4. Save changes.
  5. Add [viralmaisuriyaa_pincode_checker] to a page, post or Shortcode block, or enable classic WooCommerce product page display.
Row format: COUNTRY,POSTAL_RULE,DELIVERY_1_OR_0,MIN_DAYS,MAX_DAYS,COD_1_OR_0 Illustrative examples (not real coverage data): IN,395001,1,2,4,1 IN,395002-395010,1,3,5,0 IN,395006,0,0,0,0 US,00501,1,3,6,0 US,10001-10010,1,4,7,1 GB,SW1A 1AA,1,2,4,0 GB,SW1A,1,3,5,0 CA,K1A 0B1,1,4,8,1 DE,10115,1,2,5,0 AU,2000,1,3,6,0 AE,,1,5,9,0 IN = India, US = United States, GB = United Kingdom (not UK), CA = Canada, DE = Germany, AU = Australia, AE = United Arab Emirates. A complete country code reference and explanations are available below the settings textarea. IN,395001,1,2,4,1 means delivery available to Indian pincode 395001 in an estimated 2–4 calendar days with COD available. The exact blocked rule for 395006 overrides its broader range. US ZIP 00501 keeps its leading zeros. GB,SW1A* matches valid postcodes beginning with SW1A. A country-wide * rule permits an empty postal code and applies across that country. Maximum 5,000 rules and 250 KB. Days must be whole numbers from 0 to 365; minimum cannot exceed maximum. Numeric ranges must have equal-width, valid numeric endpoints in ascending order. US ZIP+4 (12345-6789) is an exact code, not a range; use exact or prefix rules. Hyphens are significant for exact matches. Invalid input preserves previous settings. Old five-column rules continue to work as Indian rules and are converted to six-column rows on the next settings save.

升级注意事项:

1.1.0 International delivery rules. Existing five-column Indian rows continue to work. Add a two-letter country code for new rules. No delivery coverage is added automatically. 1.0.0 Initial release.

常见问题:

Does it need WooCommerce?

No. The shortcode works on a standard WordPress website.

Does it block orders from unsupported pincodes?

No. It is an informational checker. Use your ecommerce shipping settings for checkout restrictions.

Does it support other countries?

Yes. Configure rules using ISO two-letter country codes. The customer selector shows countries with saved rules. Common format checks are included for India, United States, United Kingdom, Canada, Netherlands, Japan, Brazil and several numeric-code countries. Other countries use a basic alphanumeric syntax check (up to 20 non-space characters). This is format validation only; it does not confirm that a postal code exists or is served by a courier. Availability always comes from your rules.

Does it work in block-based WooCommerce product templates?

Use a Shortcode block in the template. Automatic display uses the classic WooCommerce product summary hook.

Can I import a CSV file?

Copy and paste its rows into the settings textarea without a header. File upload and CSV export are not included.

How do I translate it?

The text domain is viralmaisuriyaa-delivery-pincode-checker. The languages directory contains a POT template and Gujarati (gu_IN) and Hindi (hi_IN) PO/MO files. Select the appropriate WordPress site language or create another translation using a gettext editor. Country names and interface strings are translatable. CSV uses ISO country identifiers and postal rules.

What happens to pincode searches?

The plugin sends the selected country and entered postal code to your own site's public read-only REST endpoint. The plugin does not save searches or send data to third parties. Your hosting/access logs may record requests. Delivery rules can be queried publicly because they are intended for visitors.

Why does the checker show an error?

Enable JavaScript and make sure your site's WordPress REST API is accessible. Security tools that block public REST requests may prevent lookups.

更新日志:

1.1.0 1.0.1 1.0.0