Nigeria Cities for WooCommerce
by Jackson Jonah on WordPress.org
The plugin adds Nigerian states and their LGAs as shipping zones to WooCommerce for simplified configuration.

Admin screen showing Nigerian states and LGAs as shipping zones.
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.