=== Restricted Shipping and Payment for WooCommerce ===
Contributors: waseem_senjer, wprubyplugins
Donate link: https://wpruby.com
Tags: woocommerce, shipping, admin
Requires at least: 4.0
Tested up to: 6.5
Requires PHP: 5.6
Stable tag: 4.0.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

A simplistic plugin for excluding shipping methods based on multiple rules such as shipping class, package weight and cart totals.

== Installation ==

1. Upload `restricted-shipping-and-payment-for-woocommerce.php` to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. A new admin menu item `Shipping Conditions` will be added.

== Screenshots ==
1. Shipping Conditions

== Changelog ==
= 4.0.0 =
* ADDED: New Rule: Payment Gateway Rule for shipping conditions.
* ADDED: New Rule: Shipping method Rule for payment conditions.
* ADDED: New Rule: Time of the Day rule.

= 3.0.3 =
Fixed: Fatal error in the product tag rule.

= 3.0.2 =
Added: declaring WooCommerce HPOS compatibility.
Fixed: The state rule was not working correctly.
Fixed: PHP warnings.

= 3.0.1 =
Fixed: fatal error when adding items to the cart.

= 3.0.0 =
Added: Cart and Checkout messages when a rules is matched.
Fixed: Payment rules were not working in some cases.
Fixed: fix product tag for variant products
Fixed: fix shipping package for shipping classes rule.

= 2.3.0 =
* Fixed: invalid payment rules key.
* Fixed: Using payment method title instead of title.
* Fixed: Shipping classes for product variations.
* Fixed: updating the license validation url.

= 2.2.2 =
* Fixed: PHP warnings at the checkout page.

= 2.2.1 =
* Fixed: The plugin updater.

= 2.2.0 =
* Added: Now you can add conditions based on the customer role.

= 2.1.2 =
* Fixed: shipping rules.

= 2.1.1 =
* Added: Automatic updates.

= 2.1.0 =
* Added: Now you can evaluate the rules as OR or AND evaluation. (one rule applies is enough) or (all rules must meet).
* Fixed: Not In operator was not evaluated correctly.

= 2.0.2 =
* FIXED: activating the license was not triggered and the plugin was not accessible.

= 2.0.1 =
* ADDED: Translation file.
* FIXED: error tolerance when a wrong rule is provided.

= 2.0.0 =
* ADDED: New Rule: Postcode.
* ADDED: New Rule: City.
* ADDED: New Rule: State.
* ADDED: New Rule: Product Category.
* ADDED: New Rule: Product Tag.
* ADDED: New Rule: Product Attribute.
* ADDED: New Rule: Cart has downloadable products.
* ADDED: New Rule: Cart has virtual products.
* ADDED: New Rule: Total Cart Quantity.
* ADDED: Complete code refactoring.
* FIXED: Adding new payment rule for condition does not refresh the operators.

= 1.2.0 =
* Fixed: The exclusion logic of payment gateways.

= 1.1.1 =
* Fixed: remove unnecessary CSS and JS files loading.

= 1.1.0 =
* Add the ability to exclude shipping methods by coupon code

= 1.0.0 =
* Initial release

== Upgrade Notice ==

= 1.0.0 =
Initial release

