This custom WooCommerce plugin allows you to hide the Cash on Delivery (COD) payment option for specific cities in Morocco. Enhance your WooCommerce store's functionality by controlling payment methods based on geographic location.
- Geographic Restrictions: Specify cities where the COD payment method should be hidden.
- Easy Configuration: Simple settings interface to manage the cities effectively.
- Seamless Integration: Works smoothly with your existing WooCommerce setup.
- Download the plugin from GitHub.
- Upload the
woocommerce-hide-cod
folder to the/wp-content/plugins/
directory. - Activate the plugin through the 'Plugins' menu in WordPress.
- Configure the settings to specify the cities where you want to hide the COD option.
- Go to WooCommerce > Settings > Payments.
- Find the Hide COD settings section.
- Add the cities for which you want to hide the COD payment option.
- Save the settings.
For a live demonstration, visit stargps.ma.
Contributions are welcome! Please feel free to open issues or submit pull requests.
This plugin is licensed under the MIT License.
For any questions or support requests, please open an issue on the GitHub repository.