Created
July 16, 2019 09:09
-
-
Save james-allan/9d8cafe305a733a6ab971946955b381e to your computer and use it in GitHub Desktop.
class-wc-subscriptions-coupon #L587-L589
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ( 1 === self::get_coupon_limit( $coupon_code ) && 0 < $cart->get_coupon_discount_amount( $coupon_code ) ) { | |
$cart->remove_coupon( $coupon_code ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment