Showing
1 changed file
with
1 additions
and
1 deletions
@@ -111,7 +111,7 @@ class BuyNowController { | @@ -111,7 +111,7 @@ class BuyNowController { | ||
111 | } | 111 | } |
112 | }); | 112 | }); |
113 | 113 | ||
114 | - if (!orderInfo.coupon_code && autoSelectCouponCodeStr) { | 114 | + if (orderInfo.user_check_coupon !== 'Y' && autoSelectCouponCodeStr) { |
115 | orderInfo.coupon_code = autoSelectCouponCodeStr; | 115 | orderInfo.coupon_code = autoSelectCouponCodeStr; |
116 | res.cookie('order-info', JSON.stringify(orderInfo), actCkOpthn); | 116 | res.cookie('order-info', JSON.stringify(orderInfo), actCkOpthn); |
117 | } | 117 | } |
-
Please register or login to post a comment