Linux 软件免费装
Banner图

Adeniyikayode Nigerian Postcode for WooCommerce

开发者 adeniyikayode
更新时间 2026年10月9日 00:41
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce nigeria postcode zip code postal code

下载

0.1.2 0.1.3 0.1.1

详情介绍:

Nigeria's National Digital Alphanumeric Postcode System (NDAPS) gives every building an 11-character code such as EK-01-A03-FK-01: state, LGA, district, area, and building unit. It is Nigeria's new postal code, or zip code. This plugin does not add a field. It teaches WooCommerce's own postcode field about Nigerian codes, so the postcode reaches everything that already reads that field: orders, emails, exports, the REST API, couriers, and shipping zones. The first four need no account or key. The last two need a key from the NIPOST developer dashboard. This is an independent project. It is not made or endorsed by NIPOST or by WooCommerce.

安装:

  1. Install and activate the plugin. WooCommerce must be active.
  2. The postcode field now appears for Nigerian addresses at checkout. No settings are needed for that.
  3. To switch on "Find my postcode" and "Check orders", go to WooCommerce, Settings, General, and enter your NIPOST API key under "Nigerian postcode".

屏幕截图:

  • The settings, under WooCommerce, Settings, General.
  • The order note once NIPOST confirms the postcode.

常见问题:

Is the postcode required at checkout?

No. Most customers do not know their code yet, so the field is optional.

How do I price delivery by area?

In a shipping zone, add a postcode rule with a prefix and a star, written with its hyphens: EK-01* for one LGA, or EK-01-A03* for one district.

Where does my API key go?

It is stored on your server and used only there. You can instead define NG_POSTCODE_API_KEY in wp-config.php, which keeps it out of the database.

Can a visitor use up my NIPOST quota?

"Find my postcode" refuses locations outside Nigeria without asking NIPOST, allows each visitor at most 5 searches a minute, and allows the store at most 600 an hour.

更新日志:

0.1.3 0.1.2 0.1.1 0.1.0