How to allow subscription payment coupon WITH free trail
-
why is this code in the core?
// ignore non-subscription coupons if ( ! in_array( $coupon->type, array( 'recurring_fee', 'sign_up_fee', 'recurring_percent', 'sign_up_fee_percent' ) ) ) { // but make sure there is actually something for the coupon to be applied to (i.e. not a free trial) if ( ( wcs_cart_contains_renewal() || WC_Subscriptions_Cart::cart_contains_subscription() ) && 0 == WC()->cart->subtotal ) { self::$coupon_error = __( 'Sorry, this coupon is only valid for an initial payment and the cart does not require an initial payment.', 'woocommerce-subscriptions' ); } } else {
I do not see why or how having a coupon for future payments is a bad thing?
AND just because you have a free trial, you can’t use a coupon?Is there a work around?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘How to allow subscription payment coupon WITH free trail’ is closed to new replies.