Discount Rules for WooCommerce - Version 2.0.1

Version Description

  • 14/07/20 =
  • Fix - Warning on install pack.
Download this release

Release Info

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

Code changes from version 2.0.0 to 2.0.1

readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://flycart.org/
4
  Tags: woocommerce, coupons, discounts, dynamic pricing, Buy One Get One Free, pricing deals, bulk discount, discount
5
  Requires at least: 4.4.1
6
  Tested up to: 5.4
7
- Stable tag: 2.0.0
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -336,6 +336,9 @@ Discount - Enter minimum & Maximum quantity -> Adjustment Type -> Product Discou
336
 
337
  == Changelog ==
338
 
 
 
 
339
  = 2.0.0 - 14/07/20 =
340
  * Fix - Cart discount price for single product.
341
  * Fix - Displaying strikeout when chosen apply as coupon.
4
  Tags: woocommerce, coupons, discounts, dynamic pricing, Buy One Get One Free, pricing deals, bulk discount, discount
5
  Requires at least: 4.4.1
6
  Tested up to: 5.4
7
+ Stable tag: 2.0.1
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
336
 
337
  == Changelog ==
338
 
339
+ = 2.0.1 - 14/07/20 =
340
+ * Fix - Warning on install pack.
341
+
342
  = 2.0.0 - 14/07/20 =
343
  * Fix - Cart discount price for single product.
344
  * Fix - Displaying strikeout when chosen apply as coupon.
v2/App/Models/DBTable.php CHANGED
@@ -458,7 +458,7 @@ class DBTable
458
  */
459
  public function updateTable(){
460
  //Version of currently activated plugin
461
- $current_version = '2.0.0';
462
  //Database version - this may need upgrading.
463
  $installed_version = get_option('awdr_activity_log_version');
464
  if( $installed_version != $current_version ){
458
  */
459
  public function updateTable(){
460
  //Version of currently activated plugin
461
+ $current_version = '2.0.1';
462
  //Database version - this may need upgrading.
463
  $installed_version = get_option('awdr_activity_log_version');
464
  if( $installed_version != $current_version ){
woo-discount-rules.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: Simple to complex discount rules for your WooCommerce store. Core package.
6
  * Author: Flycart Technologies LLP
7
  * Author URI: https://www.flycart.org
8
- * Version: 2.0.0
9
  * Slug: woo-discount-rules
10
  * Text Domain: woo-discount-rules
11
  * Domain Path: /i18n/languages/
@@ -82,7 +82,7 @@ if (!defined('WDR_PLUGIN_BASENAME')) {
82
  * Current version of our app
83
  */
84
  if (!defined('WDR_VERSION')) {
85
- define('WDR_VERSION', '2.0.0');
86
  }
87
 
88
  /**
@@ -165,8 +165,8 @@ if ($awdr_load_version == "v2") {
165
  if (!defined('WOO_DISCOUNT_PLUGIN_BASENAME')) {
166
  define('WOO_DISCOUNT_PLUGIN_BASENAME', plugin_basename(__FILE__));
167
  }
168
- include_once(__DIR__ . "/{$awdr_load_version}/helper/activation-helper.php");
169
  register_activation_hook(__FILE__, 'onWooDiscountActivate');
170
  register_deactivation_hook(__FILE__, 'onWooDiscountDeactivation');
171
- include_once(__DIR__ . "/{$awdr_load_version}/loader.php");
172
  }
5
  * Description: Simple to complex discount rules for your WooCommerce store. Core package.
6
  * Author: Flycart Technologies LLP
7
  * Author URI: https://www.flycart.org
8
+ * Version: 2.0.1
9
  * Slug: woo-discount-rules
10
  * Text Domain: woo-discount-rules
11
  * Domain Path: /i18n/languages/
82
  * Current version of our app
83
  */
84
  if (!defined('WDR_VERSION')) {
85
+ define('WDR_VERSION', '2.0.1');
86
  }
87
 
88
  /**
165
  if (!defined('WOO_DISCOUNT_PLUGIN_BASENAME')) {
166
  define('WOO_DISCOUNT_PLUGIN_BASENAME', plugin_basename(__FILE__));
167
  }
168
+ include_once(__DIR__ . "/v1/helper/activation-helper.php");
169
  register_activation_hook(__FILE__, 'onWooDiscountActivate');
170
  register_deactivation_hook(__FILE__, 'onWooDiscountDeactivation');
171
+ include_once(__DIR__ . "/v1/loader.php");
172
  }