You can apply more than one coupon, make sure to not hide the form when a coupon is already applied.
This commit is contained in:
parent
59de4c7148
commit
9e207c9c11
|
@ -17,7 +17,7 @@
|
|||
|
||||
defined( 'ABSPATH' ) || exit;
|
||||
|
||||
if ( ! wc_coupons_enabled() || ! empty( WC()->cart->applied_coupons ) ) { // @codingStandardsIgnoreLine.
|
||||
if ( ! wc_coupons_enabled() ) { // @codingStandardsIgnoreLine.
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue