=== Codiepress WooCommerce Conditional Shipping and Payments – Hide Shipping & Payment Methods ===
Contributors: codiepress, repon.wp, zahabul
Tags: woocommerce, conditional shipping, conditional payments, payment gateways, hide shipping methods
Requires at least: 5.0
Tested up to: 6.9
Stable tag: 1.0.5
License: GPLv3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html

Easily manage WooCommerce shipping & payment methods by cart, user roles, address & more. Enhance checkout with conditional shipping & payments.

== Description ==  

**The Conditional Payment Rule is not yet compatible with the latest version of WooCommerce. We are currently working on an update.**

Looking for an easy way to **restrict shipping methods or payment gateways** in WooCommerce? The **Conditional Shipping and Payments for WooCommerce** plugin allows store owners to:  

✔ **Hide or enable specific shipping methods** based on cart total, weight, quantity, shipping class, or product categories.  
✔ **Restrict payment gateways** based on customer roles, billing country, products in the cart, or order history.  
✔ **Set custom shipping rules** for different user types (wholesale, retail, or VIP customers).  
✔ **Disable cash on delivery (COD) or specific payment methods** for certain locations.  
✔ **Control shipping options dynamically** based on flexible rules.  

This plugin is perfect for **WooCommerce store owners** who want to optimize the checkout experience by displaying only relevant shipping and payment options to customers.  

### **Key Features**  

✅ **Hide WooCommerce shipping methods** based on:  
   - Cart total, weight, or quantity  
   - Specific products or product categories  
   - Customer roles and user meta  
   - Shipping and billing address  
   - Date and time (e.g., restrict methods on weekends)  

✅ **Restrict WooCommerce payment gateways** dynamically:  
   - Disable payment methods for specific users or roles  
   - Hide certain payment gateways for high or low cart totals  
   - Restrict gateways based on country, state, or zip code  
   - Block payments for specific coupons or discounts  

✅ **Advanced Conditional Rules**  
   - Use multiple conditions together  
   - Works with **WooCommerce shipping zones & shipping classes**  
   - Compatible with **all major WooCommerce payment gateways**  

### **Why Use Conditional Shipping & Payments for WooCommerce?**  
🚀 **Enhance customer checkout experience** – Show only relevant shipping & payment methods.  
🛒 **Improve conversion rates** – Avoid abandoned carts by offering the right options.  
🔄 **Flexible & easy-to-use** – No coding required!  

### Installation

1. Upload the plugin files to the `/wp-content/plugins/` directory or install the plugin via WordPress.  
2. Activate the plugin through the ‘Plugins’ screen.  
3. Add conditions for hiding or showing shipping and payment methods based on cart rules.  

== Frequently Asked Questions ==  

**Q: Can I hide shipping methods based on the cart total?**  
A: Yes, you can disable specific shipping methods if the cart total is above or below a set value.  

**Q: Can I restrict PayPal or Cash on Delivery (COD) for certain users?**  
A: Yes, you can disable payment methods based on customer roles, billing country, or cart conditions.  

**Q: Does this work with WooCommerce shipping zones?**  
A: Yes, the plugin is fully compatible with WooCommerce shipping zones and classes.  

**Q: How do I set up conditional payment methods?**  
A: Navigate to **WooCommerce > Settings > Payments** and add conditional rules for restricting payment gateways.  

== Screenshots ==  

1. **Add Condition** – Easily set up conditional rules for Cash on Delivery (COD).
2. **Hide Payment Gateway** – Restrict payment gateway options based on cart conditions.
3. **Configure Shipping Method** – Apply conditions to control shipping rates.
4. **Hide Shipping Method** – Set conditions to hide specific shipping methods.
5. **Restrict Shipping Methods** – Use multiple conditions to limit available shipping options.

== Upgrade to Pro ==  

Get the **Pro version** to unlock advanced rules, more shipping conditions, and priority support!  

🔗 [Upgrade to Pro](https://codiepress.com/plugins/conditional-shipping-and-payments-pro-for-woocommerce/?utm_campaign=conditional+shipping+and+payments&utm_source=wordpress.org&utm_medium=readme)  

== Support ==
For any questions, issues, or feedback regarding the Conditional Shipping and Payment Method plugin, feel free to [post here](https://wordpress.org/support/plugin/conditional-shipping-and-payments-for-woocommerce/).


== Changelog ==

= 1.0.5 =
* Optimized code

= 1.0.4 =
* Fixed a minor issue

= 1.0.3 =
* Added new license system

= 1.0.2 =
* Added option for include tax with cart subtotal

= 1.0.1 =
* Added new volume condition type

= 1.0.0 =
* Initial release

