@@ -209,6 +209,7 @@ class CouponService {
|
||||
cartShipmentItem.totalCouponDiscount = discount;
|
||||
cartShipmentItem.totalPaymentPrice = cartShipmentItem.totalPaymentPrice - discount;
|
||||
userCart.coupon_discount = discount;
|
||||
userCart.total_discount += discount;
|
||||
coupon.usageCount += 1;
|
||||
|
||||
await validCartShipmentItem.save({ session });
|
||||
|
||||
Reference in New Issue
Block a user