Repository › Forums › Support › WooCommerce Extended Coupon Features PRO › Auto-apply not working on negative values › Reply To: Auto-apply not working on negative values
February 13, 2016 at 10:21 pm
#321
Soft79
Keymaster
Well not a bug, just an unexpected feature 😉
for now, just edit line 387 of wjecf-autocoupon.php:
replace
if ( $coupon->get_discount_amount( $cart_item['data']->price, $cart_item ) > 0 ) {
with
if ( $coupon->get_discount_amount( $cart_item['data']->price, $cart_item ) <> 0 ) {
I will fix this in a future version.