🎉 Use coupon MYXERO to enjoy 20% recurring discount on any plan. View Pricing
Nigeria Cities for WooCommerce

Nigeria Cities for WooCommerce

0/5 (0 ratings) 40 active installs Updated Apr 1, 2025
Admin screen showing Nigerian states and LGAs as shipping zones.

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 [email protected].