Discount Rules for WooCommerce - Version 1.6.10

Version Description

  • 31/07/18 =
  • Improvement - Events to handle variation strikeout apply_filter('woo_discount_rules_run_variation_strikeout_through_ajax', true);
  • Improvement - Events to handle strikeout while load through ajax apply_filters('woo_discount_rules_run_strike_out_for_ajax', false, $product); apply_filters('woo_discount_rules_run_sale_tag_for_ajax', false, $product);
  • Fix - Add the free product while coupon applied.
  • Fix - Remove slide effect in variable price
Download this release

Release Info

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

Code changes from version 1.6.9 to 1.6.10

assets/js/woo_discount_rules.js ADDED
File without changes
includes/pricing-rules.php CHANGED
@@ -552,13 +552,27 @@ if (!class_exists('FlycartWooDiscountRulesPricingRules')) {
552
  }
553
  }
554
 
 
 
 
 
 
 
 
 
 
 
 
 
 
555
  /**
556
  * Apply the Rules to line items for BOGO on quantity update.
557
  *
558
  * @param string $cart_item_key
559
  * @param int $quantity
560
  * @param int $old_quantity
561
- * @param int $cart
 
562
  * */
563
  public function handleBOGODiscountOnUpdateQuantity($cart_item_key, $quantity, $old_quantity, $cart = array()){
564
  $cart_data = array();
@@ -2916,6 +2930,7 @@ if (!class_exists('FlycartWooDiscountRulesPricingRules')) {
2916
  * */
2917
  public function replaceVisiblePricesOptimized($item_price, $product)
2918
  {
 
2919
  if (!(defined('DOING_AJAX') && DOING_AJAX)) {
2920
  $parent_id = FlycartWoocommerceProduct::get_parent_id($product);
2921
  if($parent_id){
@@ -2925,7 +2940,7 @@ if (!class_exists('FlycartWooDiscountRulesPricingRules')) {
2925
 
2926
  $notAdmin = FlycartWooDiscountRulesGeneralHelper::doIHaveToRun();
2927
  $show_price_discount_on_product_page = (isset($this->baseConfig['show_price_discount_on_product_page']))? $this->baseConfig['show_price_discount_on_product_page']: 'dont';
2928
- if($show_price_discount_on_product_page == 'show' && $notAdmin){
2929
  $product_id = FlycartWoocommerceProduct::get_id($product);
2930
  if(isset(self::$product_strike_out_price[$product_id]) && !empty(self::$product_strike_out_price[$product_id])){
2931
  return self::$product_strike_out_price[$product_id];
@@ -2948,9 +2963,10 @@ if (!class_exists('FlycartWooDiscountRulesPricingRules')) {
2948
  * Display Product sale tag on the product page optimized
2949
  * */
2950
  public function displayProductIsOnSaleTagOptimized($on_sale, $product){
 
2951
  $notAdmin = FlycartWooDiscountRulesGeneralHelper::doIHaveToRun();
2952
  $show_price_discount_on_product_page = (isset($this->baseConfig['show_sale_tag_on_product_page']))? $this->baseConfig['show_sale_tag_on_product_page']: 'dont';
2953
- if($show_price_discount_on_product_page == 'show' && $notAdmin){
2954
  $product_id = FlycartWoocommerceProduct::get_id($product);
2955
  if(isset(self::$product_on_sale[$product_id])){
2956
  if(self::$product_on_sale[$product_id]){
@@ -3070,9 +3086,10 @@ if (!class_exists('FlycartWooDiscountRulesPricingRules')) {
3070
  * Display Product sale tag on the product page
3071
  * */
3072
  public function displayProductIsOnSaleTag($on_sale, $product){
 
3073
  $notAdmin = FlycartWooDiscountRulesGeneralHelper::doIHaveToRun();
3074
  $show_price_discount_on_product_page = (isset($this->baseConfig['show_sale_tag_on_product_page']))? $this->baseConfig['show_sale_tag_on_product_page']: 'dont';
3075
- if($show_price_discount_on_product_page == 'show' && $notAdmin){
3076
  $product_id = FlycartWoocommerceProduct::get_id($product);
3077
  self::$product_on_sale[$product_id] = 0;
3078
  $discountPrice = $this->getDiscountPriceForTheProduct($product);
552
  }
553
  }
554
 
555
+ /**
556
+ * Handle coupon after apply coupon code
557
+ *
558
+ * @param $coupon_code
559
+ * */
560
+ public function handleBOGODiscountAfterApplyCoupon($coupon_code){
561
+ $carts = FlycartWoocommerceCart::get_cart();
562
+ foreach ($carts as $cart_item_key => $cart_item){
563
+ $quantity = $old_quantity = $cart_item['quantity'];
564
+ do_action( 'woocommerce_after_cart_item_quantity_update', $cart_item_key, $quantity, $old_quantity, $carts );
565
+ }
566
+ }
567
+
568
  /**
569
  * Apply the Rules to line items for BOGO on quantity update.
570
  *
571
  * @param string $cart_item_key
572
  * @param int $quantity
573
  * @param int $old_quantity
574
+ * @param array $cart
575
+ * @return void
576
  * */
577
  public function handleBOGODiscountOnUpdateQuantity($cart_item_key, $quantity, $old_quantity, $cart = array()){
578
  $cart_data = array();
2930
  * */
2931
  public function replaceVisiblePricesOptimized($item_price, $product)
2932
  {
2933
+ $runTheRulesEvenInAjax = apply_filters('woo_discount_rules_run_strike_out_for_ajax', false, $product);
2934
  if (!(defined('DOING_AJAX') && DOING_AJAX)) {
2935
  $parent_id = FlycartWoocommerceProduct::get_parent_id($product);
2936
  if($parent_id){
2940
 
2941
  $notAdmin = FlycartWooDiscountRulesGeneralHelper::doIHaveToRun();
2942
  $show_price_discount_on_product_page = (isset($this->baseConfig['show_price_discount_on_product_page']))? $this->baseConfig['show_price_discount_on_product_page']: 'dont';
2943
+ if($show_price_discount_on_product_page == 'show' && ($notAdmin || $runTheRulesEvenInAjax)){
2944
  $product_id = FlycartWoocommerceProduct::get_id($product);
2945
  if(isset(self::$product_strike_out_price[$product_id]) && !empty(self::$product_strike_out_price[$product_id])){
2946
  return self::$product_strike_out_price[$product_id];
2963
  * Display Product sale tag on the product page optimized
2964
  * */
2965
  public function displayProductIsOnSaleTagOptimized($on_sale, $product){
2966
+ $runTheRulesEvenInAjax = apply_filters('woo_discount_rules_run_sale_tag_for_ajax', false, $product);
2967
  $notAdmin = FlycartWooDiscountRulesGeneralHelper::doIHaveToRun();
2968
  $show_price_discount_on_product_page = (isset($this->baseConfig['show_sale_tag_on_product_page']))? $this->baseConfig['show_sale_tag_on_product_page']: 'dont';
2969
+ if($show_price_discount_on_product_page == 'show' && ($notAdmin || $runTheRulesEvenInAjax)){
2970
  $product_id = FlycartWoocommerceProduct::get_id($product);
2971
  if(isset(self::$product_on_sale[$product_id])){
2972
  if(self::$product_on_sale[$product_id]){
3086
  * Display Product sale tag on the product page
3087
  * */
3088
  public function displayProductIsOnSaleTag($on_sale, $product){
3089
+ $runTheRulesEvenInAjax = apply_filters('woo_discount_rules_run_sale_tag_for_ajax', false, $product);
3090
  $notAdmin = FlycartWooDiscountRulesGeneralHelper::doIHaveToRun();
3091
  $show_price_discount_on_product_page = (isset($this->baseConfig['show_sale_tag_on_product_page']))? $this->baseConfig['show_sale_tag_on_product_page']: 'dont';
3092
+ if($show_price_discount_on_product_page == 'show' && ($notAdmin || $runTheRulesEvenInAjax)){
3093
  $product_id = FlycartWoocommerceProduct::get_id($product);
3094
  self::$product_on_sale[$product_id] = 0;
3095
  $discountPrice = $this->getDiscountPriceForTheProduct($product);
loader.php CHANGED
@@ -137,45 +137,48 @@ if(!class_exists('FlycartWooDiscountRules')){
137
  * Script on product page for loading variant strikeout
138
  * */
139
  public function script_on_product_page(){
 
140
  $script = '<script>';
141
  $script .= 'jQuery( document ).ready( function() {';
142
  $do_product_page_strikeout = $this->discountBase->getConfigData('show_price_discount_on_product_page', 'dont');
143
- if($do_product_page_strikeout == 'show') {
144
- $script .= ' jQuery( ".single_variation_wrap" ).on( "show_variation", function ( event, variation, purchasable ) {';
145
  $script .= ' var container = jQuery(".single_variation .woocommerce-variation-price");';
146
- $script .= ' container.hide("slow");';
 
147
  $script .= ' jQuery.ajax({
148
- url: wc_add_to_cart_params.ajax_url,
149
- dataType: "json",
150
- type: "POST",
151
- data: {action: "loadWooDiscountedPriceForVariant", id: variation.variation_id, price_html: variation.price_html},
152
- beforeSend: function() {
153
- },
154
- complete: function() {
155
- },
156
- success: function (response) {
157
- if(response.status == 1){
158
- jQuery(".single_variation .woocommerce-variation-price").html(response.price_html);
159
- }
160
- container.show("slow");
161
- }
162
- });';
163
- $script .= ' });';
164
- }
165
- $script .= ' if(jQuery(".woo_discount_rules_variant_table").length > 0){
166
- var p_id = jQuery( ".woo_discount_rules_variant_table" ).attr("data-id");';
167
- $script .= ' jQuery.ajax({
168
- url: wc_add_to_cart_params.ajax_url,
169
  type: "POST",
170
- data: {action: "loadWooDiscountedDiscountTable", id: p_id},
171
  beforeSend: function() {
172
  },
173
  complete: function() {
174
  },
175
  success: function (response) {
176
- jQuery(".woo_discount_rules_variant_table").html(response);
 
 
 
 
177
  }
178
  });';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
179
  $script .= ' }';
180
  $script .= '});';
181
  $script .= '</script>';
@@ -205,6 +208,10 @@ if(!class_exists('FlycartWooDiscountRules')){
205
 
206
  add_action('woocommerce_add_to_cart', array($this->pricingRules, 'handleBOGODiscount'), 10, 6);
207
 
 
 
 
 
208
 
209
  // Manually Update Line Item Name.
210
  add_filter('woocommerce_cart_item_name', array($this->discountBase, 'modifyName'));
@@ -246,6 +253,15 @@ if(!class_exists('FlycartWooDiscountRules')){
246
  add_action('wp_ajax_nopriv_loadWooDiscountedPriceForVariant', array($this->pricingRules, 'getWooDiscountedPriceForVariant'));
247
  add_action('wp_ajax_loadWooDiscountedDiscountTable', array($this->pricingRules, 'getWooDiscountedPriceTableForVariant'));
248
  add_action('wp_ajax_nopriv_loadWooDiscountedDiscountTable', array($this->pricingRules, 'getWooDiscountedPriceTableForVariant'));
 
 
 
 
 
 
 
 
 
249
  }
250
 
251
  /**
@@ -272,14 +288,4 @@ if ( is_plugin_active( 'woocommerce/woocommerce.php' ) ) {
272
  include_once('includes/advanced/cart-totals.php');
273
  include_once('includes/advanced/advanced-helper.php');
274
  }
275
- }
276
-
277
- add_filter( 'woocommerce_add_to_cart_fragments', 'iconic_cart_count_fragments', 10, 1 );
278
-
279
- function iconic_cart_count_fragments( $fragments ) {
280
-
281
- $fragments['div.header-cart-count'] = '<div class="header-cart-count">' . WC()->cart->get_cart_contents_count() . '</div>';
282
-
283
- return $fragments;
284
-
285
  }
137
  * Script on product page for loading variant strikeout
138
  * */
139
  public function script_on_product_page(){
140
+ $runVariationStrikeoutAjax = apply_filters('woo_discount_rules_run_variation_strikeout_through_ajax', true);
141
  $script = '<script>';
142
  $script .= 'jQuery( document ).ready( function() {';
143
  $do_product_page_strikeout = $this->discountBase->getConfigData('show_price_discount_on_product_page', 'dont');
144
+ if($do_product_page_strikeout == 'show' && $runVariationStrikeoutAjax) {
145
+ $script .= 'jQuery( ".single_variation_wrap" ).on( "show_variation", function ( event, variation, purchasable ) {';
146
  $script .= ' var container = jQuery(".single_variation .woocommerce-variation-price");';
147
+ $script .= ' var current_object = jQuery(this);
148
+ current_object.trigger("woo_discount_rules_before_variant_strikeout");/*container.hide("slow");*/';
149
  $script .= ' jQuery.ajax({
150
+ url: woo_discount_rules.ajax_url,
151
+ dataType: "json",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
152
  type: "POST",
153
+ data: {action: "loadWooDiscountedPriceForVariant", id: variation.variation_id, price_html: variation.price_html},
154
  beforeSend: function() {
155
  },
156
  complete: function() {
157
  },
158
  success: function (response) {
159
+ if(response.status == 1){
160
+ jQuery(".single_variation .woocommerce-variation-price").html(response.price_html);
161
+ }
162
+ current_object.trigger("woo_discount_rules_after_variant_strikeout");
163
+ /*container.show("slow");*/
164
  }
165
  });';
166
+ $script .= ' });';
167
+ }
168
+ $script .= ' if(jQuery(".woo_discount_rules_variant_table").length > 0){
169
+ var p_id = jQuery( ".woo_discount_rules_variant_table" ).attr("data-id");';
170
+ $script .= ' jQuery.ajax({
171
+ url: woo_discount_rules.ajax_url,
172
+ type: "POST",
173
+ data: {action: "loadWooDiscountedDiscountTable", id: p_id},
174
+ beforeSend: function() {
175
+ },
176
+ complete: function() {
177
+ },
178
+ success: function (response) {
179
+ jQuery(".woo_discount_rules_variant_table").html(response);
180
+ }
181
+ });';
182
  $script .= ' }';
183
  $script .= '});';
184
  $script .= '</script>';
208
 
209
  add_action('woocommerce_add_to_cart', array($this->pricingRules, 'handleBOGODiscount'), 10, 6);
210
 
211
+ $add_free_product_on_coupon_applied = $this->discountBase->getConfigData('add_free_product_on_coupon_applied', 0);
212
+ if($add_free_product_on_coupon_applied){
213
+ add_action('woocommerce_applied_coupon', array($this->pricingRules, 'handleBOGODiscountAfterApplyCoupon'), 10, 1);
214
+ }
215
 
216
  // Manually Update Line Item Name.
217
  add_filter('woocommerce_cart_item_name', array($this->discountBase, 'modifyName'));
253
  add_action('wp_ajax_nopriv_loadWooDiscountedPriceForVariant', array($this->pricingRules, 'getWooDiscountedPriceForVariant'));
254
  add_action('wp_ajax_loadWooDiscountedDiscountTable', array($this->pricingRules, 'getWooDiscountedPriceTableForVariant'));
255
  add_action('wp_ajax_nopriv_loadWooDiscountedDiscountTable', array($this->pricingRules, 'getWooDiscountedPriceTableForVariant'));
256
+ // Enqueued script with localized data.
257
+ wp_register_script( 'woo_discount_rules_site', WOO_DISCOUNT_URI . '/assets/js/woo_discount_rules.js', array(), WOO_DISCOUNT_VERSION );
258
+ wp_localize_script('woo_discount_rules_site', 'woo_discount_rules', array(
259
+ 'home_url' => get_home_url(),
260
+ 'admin_url' => admin_url(),
261
+ 'ajax_url' => admin_url('admin-ajax.php')
262
+ ));
263
+ wp_enqueue_script( 'woo_discount_rules_site' );
264
+
265
  }
266
 
267
  /**
288
  include_once('includes/advanced/cart-totals.php');
289
  include_once('includes/advanced/advanced-helper.php');
290
  }
 
 
 
 
 
 
 
 
 
 
291
  }
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://flycart.org/
4
  Tags: woocommerce, discounts, dynamic pricing, Buy One Get One Free, pricing deals, price rules, bulk discounts, advanced discounts, pricing deals
5
  Requires at least: 4.4.1
6
  Tested up to: 4.9
7
- Stable tag: 1.6.9
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -308,6 +308,12 @@ Discount - Enter minimum & Maximum quantity -> Adjustment Type -> Product Discou
308
 
309
  == Changelog ==
310
 
 
 
 
 
 
 
311
  = 1.6.9 - 26/07/18 =
312
  * Fix - Not updating in mini-cart/wrong strikeout price
313
  * Fix - Category cumulative option quantity.
4
  Tags: woocommerce, discounts, dynamic pricing, Buy One Get One Free, pricing deals, price rules, bulk discounts, advanced discounts, pricing deals
5
  Requires at least: 4.4.1
6
  Tested up to: 4.9
7
+ Stable tag: 1.6.10
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
308
 
309
  == Changelog ==
310
 
311
+ = 1.6.10 - 31/07/18 =
312
+ * Improvement - Events to handle variation strikeout apply_filter('woo_discount_rules_run_variation_strikeout_through_ajax', true);
313
+ * Improvement - Events to handle strikeout while load through ajax apply_filters('woo_discount_rules_run_strike_out_for_ajax', false, $product); apply_filters('woo_discount_rules_run_sale_tag_for_ajax', false, $product);
314
+ * Fix - Add the free product while coupon applied.
315
+ * Fix - Remove slide effect in variable price
316
+
317
  = 1.6.9 - 26/07/18 =
318
  * Fix - Not updating in mini-cart/wrong strikeout price
319
  * Fix - Category cumulative option quantity.
view/settings.php CHANGED
@@ -85,6 +85,18 @@ $isPro = $flycartWooDiscountRulesPurchase->isPro();
85
  <label><input type="radio" name="force_refresh_cart_widget" value="0" <?php echo ($data['force_refresh_cart_widget'] == 0)? 'checked': '' ?> /> <?php esc_html_e('No', 'woo-discount-rules'); ?></label>
86
  </div>
87
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
88
  <div class="row form-group">
89
  <div class="col-md-12">
90
  <h4><?php esc_html_e('Price rules settings', 'woo-discount-rules'); ?></h4>
@@ -132,7 +144,7 @@ $isPro = $flycartWooDiscountRulesPurchase->isPro();
132
  </label>
133
  </div>
134
  <div class="col-md-6">
135
- <select class="selectpicker" name="show_price_discount_on_product_page">
136
  <option <?php if ($data['show_price_discount_on_product_page'] == 'show') { ?> selected=selected <?php } ?>
137
  value="show"><?php esc_html_e('Show', 'woo-discount-rules'); ?>
138
  </option>
@@ -210,6 +222,18 @@ $isPro = $flycartWooDiscountRulesPurchase->isPro();
210
  <label><input type="radio" name="show_strikeout_in_cart" value="0" <?php echo ($data['show_strikeout_in_cart'] == 0)? 'checked': '' ?> /> <?php esc_html_e('No', 'woo-discount-rules'); ?></label>
211
  </div>
212
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
213
  <div class="row form-group">
214
  <div class="col-md-12">
215
  <h4><?php esc_html_e('Cart rules settings', 'woo-discount-rules'); ?></h4>
@@ -261,18 +285,6 @@ $isPro = $flycartWooDiscountRulesPurchase->isPro();
261
  </select>
262
  </div>
263
  </div>
264
- <div class="row form-group">
265
- <div class="col-md-2">
266
- <label>
267
- <?php esc_html_e('Disable the rules while have coupon(Third party) in cart', 'woo-discount-rules'); ?>
268
- </label>
269
- </div>
270
- <?php $data['do_not_run_while_have_third_party_coupon'] = (isset($data['do_not_run_while_have_third_party_coupon']) ? $data['do_not_run_while_have_third_party_coupon'] : 0); ?>
271
- <div class="col-md-6">
272
- <label><input type="radio" name="do_not_run_while_have_third_party_coupon" value="1" <?php echo ($data['do_not_run_while_have_third_party_coupon'] == 1)? 'checked': '' ?>/> <?php esc_html_e('Yes', 'woo-discount-rules'); ?></label>
273
- <label><input type="radio" name="do_not_run_while_have_third_party_coupon" value="0" <?php echo ($data['do_not_run_while_have_third_party_coupon'] == 0)? 'checked': '' ?> /> <?php esc_html_e('No', 'woo-discount-rules'); ?></label>
274
- </div>
275
- </div>
276
  <div class="row form-group">
277
  <div class="col-md-2">
278
  <label>
85
  <label><input type="radio" name="force_refresh_cart_widget" value="0" <?php echo ($data['force_refresh_cart_widget'] == 0)? 'checked': '' ?> /> <?php esc_html_e('No', 'woo-discount-rules'); ?></label>
86
  </div>
87
  </div>
88
+ <div class="row form-group">
89
+ <div class="col-md-2">
90
+ <label>
91
+ <?php esc_html_e('Disable the rules while have coupon(Third party) in cart', 'woo-discount-rules'); ?>
92
+ </label>
93
+ </div>
94
+ <?php $data['do_not_run_while_have_third_party_coupon'] = (isset($data['do_not_run_while_have_third_party_coupon']) ? $data['do_not_run_while_have_third_party_coupon'] : 0); ?>
95
+ <div class="col-md-6">
96
+ <label><input type="radio" name="do_not_run_while_have_third_party_coupon" value="1" <?php echo ($data['do_not_run_while_have_third_party_coupon'] == 1)? 'checked': '' ?>/> <?php esc_html_e('Yes', 'woo-discount-rules'); ?></label>
97
+ <label><input type="radio" name="do_not_run_while_have_third_party_coupon" value="0" <?php echo ($data['do_not_run_while_have_third_party_coupon'] == 0)? 'checked': '' ?> /> <?php esc_html_e('No', 'woo-discount-rules'); ?></label>
98
+ </div>
99
+ </div>
100
  <div class="row form-group">
101
  <div class="col-md-12">
102
  <h4><?php esc_html_e('Price rules settings', 'woo-discount-rules'); ?></h4>
144
  </label>
145
  </div>
146
  <div class="col-md-6">
147
+ <select class="selectpicker" name="show_price_discount_on_product_page" id="show_price_discount_on_product_page">
148
  <option <?php if ($data['show_price_discount_on_product_page'] == 'show') { ?> selected=selected <?php } ?>
149
  value="show"><?php esc_html_e('Show', 'woo-discount-rules'); ?>
150
  </option>
222
  <label><input type="radio" name="show_strikeout_in_cart" value="0" <?php echo ($data['show_strikeout_in_cart'] == 0)? 'checked': '' ?> /> <?php esc_html_e('No', 'woo-discount-rules'); ?></label>
223
  </div>
224
  </div>
225
+ <div class="row form-group">
226
+ <div class="col-md-2">
227
+ <label>
228
+ <?php esc_html_e('Auto add free product on coupon applied (For coupon based rules)', 'woo-discount-rules'); ?>
229
+ </label>
230
+ </div>
231
+ <?php $data['add_free_product_on_coupon_applied'] = (isset($data['add_free_product_on_coupon_applied']) ? $data['add_free_product_on_coupon_applied'] : 0); ?>
232
+ <div class="col-md-6">
233
+ <label><input type="radio" name="add_free_product_on_coupon_applied" value="1" <?php echo ($data['add_free_product_on_coupon_applied'] == 1)? 'checked': '' ?>/> <?php esc_html_e('Yes', 'woo-discount-rules'); ?></label>
234
+ <label><input type="radio" name="add_free_product_on_coupon_applied" value="0" <?php echo ($data['add_free_product_on_coupon_applied'] == 0)? 'checked': '' ?> /> <?php esc_html_e('No', 'woo-discount-rules'); ?></label>
235
+ </div>
236
+ </div>
237
  <div class="row form-group">
238
  <div class="col-md-12">
239
  <h4><?php esc_html_e('Cart rules settings', 'woo-discount-rules'); ?></h4>
285
  </select>
286
  </div>
287
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
288
  <div class="row form-group">
289
  <div class="col-md-2">
290
  <label>
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.6.9
9
  * Slug: woo-discount-rules
10
  * Text Domain: woo-discount-rules
11
  * Domain Path: /i18n/languages/
5
  * Description: Simple Discount Rules for WooCommerce.
6
  * Author: Flycart Technologies LLP
7
  * Author URI: https://www.flycart.org
8
+ * Version: 1.6.10
9
  * Slug: woo-discount-rules
10
  * Text Domain: woo-discount-rules
11
  * Domain Path: /i18n/languages/