| 开发者 | woonet237 |
|---|---|
| 更新时间 | 2026年4月28日 22:41 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 6.9 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
/wp-content/plugins/Go to WooCommerce → AfriRegions → Geo Data tab. Expand a region, then use the "Add a city" or "Add" button for neighborhoods. You can also use the scpwoo_custom_places_{cc} filter (e.g. scpwoo_custom_places_cm for Cameroon).
Go to WooCommerce → Shipping → your zone → add "Zone Shipping" method. Configure a default rate, then add rules by region, city, or neighborhood. The most specific rule wins (Neighborhood > City > Region > Default).
Go to WooCommerce → AfriRegions → Restrictions tab. Enable restrictions, then check the regions or cities you want to block.
Yes. The neighborhood field appears in the cart shipping calculator when a city with neighborhoods is selected. Shipping rates update in real-time.
Yes. The plugin fully supports both HPOS and classic post-based orders.
The REST API is enabled by default and exposes geographic data (regions, cities, neighborhoods) bundled in the plugin. Rate limiting (120 requests/minute per IP) protects against abuse. The data itself is not sensitive — it is the same public geographic data available at checkout.