diff --git a/includes/class-wc-discounts.php b/includes/class-wc-discounts.php index 1e5abef1c0e..be671236739 100644 --- a/includes/class-wc-discounts.php +++ b/includes/class-wc-discounts.php @@ -257,7 +257,6 @@ class WC_Discounts { } $items_to_apply = $this->get_items_to_apply_coupon( $coupon ); - $coupon_type = $coupon->get_discount_type(); // Core discounts are handled here as of 3.2. switch ( $coupon->get_discount_type() ) {