Changeset 1753433
- Timestamp:
- 10/26/2017 07:29:17 PM (8 years ago)
- Location:
- pepperjam-pixel/trunk
- Files:
-
- 3 edited
-
includes/class-pj-pixel.php (modified) (1 diff)
-
pepperjam.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
pepperjam-pixel/trunk/includes/class-pj-pixel.php
r1697651 r1753433 371 371 // below so it doesn't take the limit_usage_to_x_items into account. We borrow from it and 372 372 // take it into account ourselves here 373 if ( $wc_coupon->is_type( array( 'percent _product', 'fixed_product' ) ) && $wc_coupon->limit_usage_to_x_items != '') {373 if ( $wc_coupon->is_type( array( 'percent', 'percent_product', 'fixed_product' ) ) && $wc_coupon->limit_usage_to_x_items != '') { 374 374 $limit_usage_qty = min( $wc_coupon->limit_usage_to_x_items, $_qty ); 375 375 $discount = ( $wc_coupon->get_discount_amount( $_price ) * $limit_usage_qty ) / $_qty; -
pepperjam-pixel/trunk/pepperjam.php
r1691233 r1753433 4 4 * Plugin URI: https://www.pepperjam.com/ 5 5 * Description: Extend the WooCommerce platform with Pepperjam pixel. 6 * Version: 1.0. 66 * Version: 1.0.8 7 7 * Author: Brad Cavanaugh <bradkcavanaugh@gmail.com> 8 8 * Author URI: https://bradkcavanaugh.com -
pepperjam-pixel/trunk/readme.txt
r1697651 r1753433 3 3 Tags: WooCommerce, Pepperjam, Pixel, Woo, Commerce 4 4 Requires at least: 3.0.1 5 Tested up to: 4.8 5 Tested up to: 4.8.1 6 6 Stable tag: trunk 7 7 License: GPLv2 or later … … 31 31 == Changelog == 32 32 33 = 1.0.8 = 34 * Compatibility fix to apply fix introduced in 1.0.7 to the coupon type 'percent' which is used in lieu of 'percent_product' in WC 3.2 35 33 36 = 1.0.7 = 34 37 * Fixed bug that caused discounts limited to x items to be incorrectly reported in item price
Note: See TracChangeset
for help on using the changeset viewer.