Discount Rules for WooCommerce - Version 1.4.6

Version Description

Download this release

Release Info

Developer flycart
Plugin Icon 128x128 Discount Rules for WooCommerce
Version 1.4.6
Comparing to
See all releases

Code changes from version 1.4.5 to 1.4.6

includes/pricing-rules.php CHANGED
@@ -698,7 +698,8 @@ if (!class_exists('woo_dicount_rules_pricingRules')) {
698
 
699
  $status = false;
700
  //check any one of category matches
701
- $result = !empty(array_intersect($product_category, $category_list));
 
702
  if($result){
703
  $status = true;
704
  }
698
 
699
  $status = false;
700
  //check any one of category matches
701
+ $matching_cats = array_intersect($product_category, $category_list);
702
+ $result = !empty( $matching_cats );
703
  if($result){
704
  $status = true;
705
  }
readme.txt CHANGED
@@ -4,18 +4,20 @@ Donate link: https://flycart.org/
4
  Tags: woocommerce, ecommerce, discounts, coupons, promotion, campaigns, sales, price rules, advanced coupons, advanced discounts
5
  Requires at least: 4.4.1
6
  Tested up to: 4.7
7
- Stable tag: 1.4.5
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
11
  Create simple to complex discount rules, promotions for your WooCommerce online store.
12
  == Description ==
13
 
 
 
14
  Create any type of discount and pricing rules in your WooCommerce Store. Run flexible promotions and sell more!
15
  Increase your sales multifold by offering flexible, customised discounts in your WooCommerce online store. Attract more customers.
16
  Encourage bulk purchases by providing discounts.
17
 
18
- [View Demo](http://demo.flycart.org/woo-discount-rules) | [Documentation](https://www.flycart.org/docs/wordpress/woo-discount-rules)
19
 
20
  = Use cases =
21
 
4
  Tags: woocommerce, ecommerce, discounts, coupons, promotion, campaigns, sales, price rules, advanced coupons, advanced discounts
5
  Requires at least: 4.4.1
6
  Tested up to: 4.7
7
+ Stable tag: 1.4.6
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
11
  Create simple to complex discount rules, promotions for your WooCommerce online store.
12
  == Description ==
13
 
14
+ Like this plugin? Consider leaving a [5 star review](https://wordpress.org/support/plugin/woo-discount-rules/reviews/?filter=5).
15
+
16
  Create any type of discount and pricing rules in your WooCommerce Store. Run flexible promotions and sell more!
17
  Increase your sales multifold by offering flexible, customised discounts in your WooCommerce online store. Attract more customers.
18
  Encourage bulk purchases by providing discounts.
19
 
20
+ [View Demo](http://demo.flycart.org/woo-discount-rules) | [Documentation with real examples](https://www.flycart.org/docs/wordpress/woo-discount-rules) | [Ask Questions](https://www.flycart.org/support/6-wordpress-plugins)
21
 
22
  = Use cases =
23
 
woo-discount-rules.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: Simple Discount Rules for WooCommerce.
6
  * Author: Flycart Technologies LLP
7
  * Author URI: https://www.flycart.org
8
- * Version: 1.4.5
9
  * Requires at least: 4.6.1
10
  */
11
 
5
  * Description: Simple Discount Rules for WooCommerce.
6
  * Author: Flycart Technologies LLP
7
  * Author URI: https://www.flycart.org
8
+ * Version: 1.4.6
9
  * Requires at least: 4.6.1
10
  */
11