WooCommerce Bulk Discount - Version 2.0.5

Version Description

  • (12 Sep 2013) Fixed displaying bug (for different scenario) which has no impact on discount computations.
Download this release

Release Info

Developer Rene Puchinger
Plugin Icon 128x128 WooCommerce Bulk Discount
Version 2.0.5
Comparing to
See all releases

Code changes from version 2.0.4 to 2.0.5

Files changed (2) hide show
  1. readme.txt +9 -3
  2. woocommerce-bulk-discount.php +2 -1
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_butt
4
  Tags: woocommerce, bulk, discount
5
  Requires at least: 3.5
6
  Tested up to: 3.6
7
- Stable tag: 2.0.4
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -129,11 +129,14 @@ Setting bulk discounts couldn't have been easier.
129
 
130
  == Changelog ==
131
 
 
 
 
132
  = 2.0.4 =
133
- * (11 Sep 2013) Bugfix release.
134
 
135
  = 2.0.3 =
136
- * (11 Sep 2013) Bugfix release.
137
 
138
  = 2.0.2 =
139
  * (5 Sep 2013) Important maintenance release. Now the bulk discount metadata are stored to orders as well, making it possible to correctly display discounts for past orders. One can also change the plugin settings any time.
@@ -180,6 +183,9 @@ Setting bulk discounts couldn't have been easier.
180
 
181
  == Upgrade Notice ==
182
 
 
 
 
183
  = 2.0.4 =
184
  Bugfix release. Please update immediately.
185
 
4
  Tags: woocommerce, bulk, discount
5
  Requires at least: 3.5
6
  Tested up to: 3.6
7
+ Stable tag: 2.0.5
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
129
 
130
  == Changelog ==
131
 
132
+ = 2.0.5 =
133
+ * (12 Sep 2013) Fixed displaying bug (for different scenario) which has no impact on discount computations.
134
+
135
  = 2.0.4 =
136
+ * (11 Sep 2013) Fixed displaying bug (for different scenario) which has no impact on discount computations.
137
 
138
  = 2.0.3 =
139
+ * (11 Sep 2013) Fixed displaying bug which has no impact on discount computations.
140
 
141
  = 2.0.2 =
142
  * (5 Sep 2013) Important maintenance release. Now the bulk discount metadata are stored to orders as well, making it possible to correctly display discounts for past orders. One can also change the plugin settings any time.
183
 
184
  == Upgrade Notice ==
185
 
186
+ = 2.0.5 =
187
+ Bugfix release. Please update immediately.
188
+
189
  = 2.0.4 =
190
  Bugfix release. Please update immediately.
191
 
woocommerce-bulk-discount.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: WooCommerce Bulk Discount
4
  Plugin URI: http://www.tools4me.net/wordpress/woocommerce-bulk-discount-plugin
5
  Description: Apply fine-grained bulk discounts to items in the shopping cart.
6
  Author: Rene Puchinger
7
- Version: 2.0.4
8
  Author URI: http://www.renepuchinger.com
9
  License: GPL3
10
 
@@ -232,6 +232,7 @@ if (!class_exists('Woo_Bulk_Discount_Plugin_t4m')) {
232
  {
233
  global $woocommerce;
234
  $_product = get_product($values['product_id']);
 
235
  if ($_product && $_product instanceof WC_Product_Variable && $values['variation_id']) {
236
  $actual_id = $values['variation_id'];
237
  }
4
  Plugin URI: http://www.tools4me.net/wordpress/woocommerce-bulk-discount-plugin
5
  Description: Apply fine-grained bulk discounts to items in the shopping cart.
6
  Author: Rene Puchinger
7
+ Version: 2.0.5
8
  Author URI: http://www.renepuchinger.com
9
  License: GPL3
10
 
232
  {
233
  global $woocommerce;
234
  $_product = get_product($values['product_id']);
235
+ $actual_id = $values['product_id'];
236
  if ($_product && $_product instanceof WC_Product_Variable && $values['variation_id']) {
237
  $actual_id = $values['variation_id'];
238
  }