Discount Rules for WooCommerce - Version 1.4.37

Version Description

  • 05/01/18 =
  • Fix - Not displaying Price display suffix
Download this release

Release Info

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

Code changes from version 1.4.36 to 1.4.37

includes/pricing-rules.php CHANGED
@@ -1766,7 +1766,7 @@ if (!class_exists('FlycartWooDiscountRulesPricingRules')) {
1766
  $discountPrice = $this->getAdjustmentDiscountedPrice($product, $product_id, $type, FlycartWoocommerceProduct::get_price($variations));
1767
  if($discountPrice > 0){
1768
  $price_to_display = FlycartWoocommerceProduct::wc_price($discountPrice);
1769
- $item_price = '<del>' . $item_price . '</del> <ins>' . ($price_to_display) . '</ins>';
1770
  }
1771
  }
1772
  }
@@ -1808,7 +1808,7 @@ if (!class_exists('FlycartWooDiscountRulesPricingRules')) {
1808
  $discountPrice = $this->getAdjustmentDiscountedPrice($product, $product_id, $type);
1809
  if($discountPrice > 0){
1810
  $price_to_display = FlycartWoocommerceProduct::wc_price($discountPrice);
1811
- $item_price = '<span class="cart_price"><del>' . $item_price . '</del> <ins>' . ($price_to_display) . '</ins></span>';
1812
  }
1813
  }
1814
  }
1766
  $discountPrice = $this->getAdjustmentDiscountedPrice($product, $product_id, $type, FlycartWoocommerceProduct::get_price($variations));
1767
  if($discountPrice > 0){
1768
  $price_to_display = FlycartWoocommerceProduct::wc_price($discountPrice);
1769
+ $item_price = '<del>' . $item_price . '</del> <ins>' . ($price_to_display).$product->get_price_suffix() . '</ins>';
1770
  }
1771
  }
1772
  }
1808
  $discountPrice = $this->getAdjustmentDiscountedPrice($product, $product_id, $type);
1809
  if($discountPrice > 0){
1810
  $price_to_display = FlycartWoocommerceProduct::wc_price($discountPrice);
1811
+ $item_price = '<span class="cart_price"><del>' . $item_price . '</del> <ins>' . ($price_to_display).$product->get_price_suffix() . '</ins></span>';
1812
  }
1813
  }
1814
  }
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
5
  Requires at least: 4.4.1
6
  Tested up to: 4.9
7
- Stable tag: 1.4.36
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -238,6 +238,9 @@ Discount - Enter minimum & Maximum quantity -> Adjustment Type -> Product Discou
238
 
239
  == Changelog ==
240
 
 
 
 
241
  = 1.4.36 - 04/01/18 =
242
  * Improvement - Load Product and users select box through ajax to avoid time out issue
243
 
4
  Tags: woocommerce, discounts, dynamic pricing, Buy One Get One Free, pricing deals, price rules, bulk discounts, advanced discounts
5
  Requires at least: 4.4.1
6
  Tested up to: 4.9
7
+ Stable tag: 1.4.37
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
238
 
239
  == Changelog ==
240
 
241
+ = 1.4.37 - 05/01/18 =
242
+ * Fix - Not displaying Price display suffix
243
+
244
  = 1.4.36 - 04/01/18 =
245
  * Improvement - Load Product and users select box through ajax to avoid time out issue
246
 
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.36
9
  * Slug: woo-discount-rules
10
  * Text Domain: woo-discount-rules
11
  * Requires at least: 4.6.1
5
  * Description: Simple Discount Rules for WooCommerce.
6
  * Author: Flycart Technologies LLP
7
  * Author URI: https://www.flycart.org
8
+ * Version: 1.4.37
9
  * Slug: woo-discount-rules
10
  * Text Domain: woo-discount-rules
11
  * Requires at least: 4.6.1