[WordPress] 外掛分享: Nigeria Cities for WooCommerce

首頁外掛目錄 › Nigeria Cities for WooCommerce
WordPress 外掛 Nigeria Cities for WooCommerce 的封面圖片
40+
安裝啟用
尚無評分
353 天前
最後更新
問題解決
WordPress 5.8+ PHP 7.2+ v1.1.0 上架:2025-03-31

內容簡介

總結:Nigeria Cities for WooCommerce 外掛將尼日利亞的地理數據整合到 WooCommerce 中,讓企業可以更有效地迎合尼日利亞客戶的需求。外掛可將尼日利亞 LGA 添加為預設的運送區域。

問題與答案:
1. Nigeria Cities for WooCommerce 外掛的主要功能有哪些?
- 添加尼日利亞所有州和 LGA 為運送區域。
- 使用基於 JSON 的數據進行便捷更新。
- 提供安全處理,包括 nonce 驗證和輸入消毒。
- 管理員通知有缺漏或無效的 JSON 文件。
- 提供錯誤記錄功能進行調試。

2. 外掛使用什麼格式的數據來定義州和 LGA?
- 外掛使用一個 JSON 文件來定義州和 LGA。以下是一個示例格式:
```json
{
"Lagos": {
"LA-01": "Ikeja",
"LA-02": "Epe",
"LA-03": "Ikorodu"
},
"Abuja": {
"ABJ-01": "Garki",
"ABJ-02": "Wuse",
"ABJ-03": "Asokoro"
}
}
```

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.1.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Nigeria Cities for WooCommerce」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

The Nigeria Cities for WooCommerce plugin integrates Nigerian geographic data into WooCommerce, enabling businesses to cater to Nigerian customers efficiently. It add LGA in Nigeria as shipping zones to the default shipping zones.
Key features include:

Addition of all Nigerian states and LGAs as shipping zones.
JSON-based data for easy updates.
Secure handling with nonce verification and input sanitization.
Admin notices for missing or invalid JSON files.
Error logging for debugging.

JSON Data Format
The plugin uses a JSON file to define states and LGAs. Below is an example format:
“json
{
"Lagos": {
"LA-01": "Ikeja",
"LA-02": "Epe",
"LA-03": "Ikorodu"
},
"Abuja": {
"ABJ-01": "Garki",
"ABJ-02": "Wuse",
"ABJ-03": "Asokoro"
}
}

Contributing
Contributions are welcome!
Support
For support, contact the author via Jackson Jonah’s website or email [email protected].

延伸相關外掛

文章
Filter
Apply Filters
Mastodon