WooCommerce Bulk Discount - Version 2.1.3

Version Description

  • (18 Nov 2013) Corrected a bug of being not able to disable Bulk Discount on products.
Download this release

Release Info

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

Code changes from version 2.1.2 to 2.1.3

Files changed (2) hide show
  1. readme.txt +7 -1
  2. woocommerce-bulk-discount.php +2 -2
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.1
7
- Stable tag: 2.1.2
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -138,6 +138,9 @@ Setting bulk discounts couldn't have been easier.
138
 
139
  == Changelog ==
140
 
 
 
 
141
  = 2.1.2 =
142
  * (15 Nov 2013) Localisation updated (Portuguese, Czech).
143
  * CSS admin tab alignment correction.
@@ -229,6 +232,9 @@ Setting bulk discounts couldn't have been easier.
229
 
230
  == Upgrade Notice ==
231
 
 
 
 
232
  = 2.1.2 =
233
  Maintenance release.
234
 
4
  Tags: woocommerce, bulk, discount
5
  Requires at least: 3.5
6
  Tested up to: 3.6.1
7
+ Stable tag: 2.1.3
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
138
 
139
  == Changelog ==
140
 
141
+ = 2.1.3 =
142
+ * (18 Nov 2013) Corrected a bug of being not able to disable Bulk Discount on products.
143
+
144
  = 2.1.2 =
145
  * (15 Nov 2013) Localisation updated (Portuguese, Czech).
146
  * CSS admin tab alignment correction.
232
 
233
  == Upgrade Notice ==
234
 
235
+ = 2.1.3 =
236
+ Bugfix release. Please update immediately.
237
+
238
  = 2.1.2 =
239
  Maintenance release.
240
 
woocommerce-bulk-discount.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: WooCommerce Bulk Discount
4
  Plugin URI: http://www.renepuchinger.com
5
  Description: Apply fine-grained bulk discounts to items in the shopping cart.
6
  Author: Rene Puchinger
7
- Version: 2.1.2
8
  Author URI: http://www.renepuchinger.com
9
  License: GPL3
10
 
@@ -504,7 +504,7 @@ if ( !class_exists( 'Woo_Bulk_Discount_Plugin_t4m' ) ) {
504
 
505
  <div class="options_group">
506
  <?php
507
- woocommerce_wp_checkbox( array( 'id' => '_bulkdiscount_enabled', 'value' => get_option('_bulkdiscount_enabled') ? get_option('_bulkdiscount_enabled') : 'yes', 'label' => __( 'Bulk Discount enabled', 'wc_bulk_discount' ) ) );
508
  woocommerce_wp_textarea_input( array( 'id' => "_bulkdiscount_text_info", 'label' => __( 'Bulk discount special offer text in product description', 'wc_bulk_discount' ), 'description' => __( 'Optionally enter bulk discount information that will be visible on the product page.', 'wc_bulk_discount' ), 'desc_tip' => 'yes', 'class' => 'fullWidth' ) );
509
  ?>
510
  </div>
4
  Plugin URI: http://www.renepuchinger.com
5
  Description: Apply fine-grained bulk discounts to items in the shopping cart.
6
  Author: Rene Puchinger
7
+ Version: 2.1.3
8
  Author URI: http://www.renepuchinger.com
9
  License: GPL3
10
 
504
 
505
  <div class="options_group">
506
  <?php
507
+ woocommerce_wp_checkbox( array( 'id' => '_bulkdiscount_enabled', 'value' => get_post_meta($thepostid, '_bulkdiscount_enabled', true) ? get_post_meta($thepostid, '_bulkdiscount_enabled', true) : 'yes', 'label' => __( 'Bulk Discount enabled', 'wc_bulk_discount' ) ) );
508
  woocommerce_wp_textarea_input( array( 'id' => "_bulkdiscount_text_info", 'label' => __( 'Bulk discount special offer text in product description', 'wc_bulk_discount' ), 'description' => __( 'Optionally enter bulk discount information that will be visible on the product page.', 'wc_bulk_discount' ), 'desc_tip' => 'yes', 'class' => 'fullWidth' ) );
509
  ?>
510
  </div>