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 shi
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 contact@jacksonjonah.com.ng .
A closer look.
From the WordPress Dashboard
- 01Download the plugin as a .zip file.
- 02Go to Plugins > Add New > Upload Plugin in your WordPress admin.
- 03Select the .zip file and click “Install Now.”
- 04Activate the plugin.
Manual Installation
- 05Download the plugin as a .zip file.
- 06