Skip to content

younes-dro/woocommerce-hide-cod

Repository files navigation

Custom WooCommerce Plugin: Hide COD Payment Option

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.

Features

  • 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.

Installation

  1. Download the plugin from GitHub.
  2. Upload the woocommerce-hide-cod folder to the /wp-content/plugins/ directory.
  3. Activate the plugin through the 'Plugins' menu in WordPress.
  4. Configure the settings to specify the cities where you want to hide the COD option.

Usage

  1. Go to WooCommerce > Settings > Payments.
  2. Find the Hide COD settings section.
  3. Add the cities for which you want to hide the COD payment option.
  4. Save the settings.

See It in Action

For a live demonstration, visit stargps.ma.

Contributing

Contributions are welcome! Please feel free to open issues or submit pull requests.

License

This plugin is licensed under the MIT License.

Support

For any questions or support requests, please open an issue on the GitHub repository.

About

hide cash on delivery for selected delivery addresses

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published