simpo-component-library 3.6.837 → 3.6.838

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9376,8 +9376,8 @@ class CartComponent extends BaseSection {
9376
9376
  this.cartInfo.billdetails.totalTaxAfterDiscount = response?.data?.billdetails?.totalTaxAfterDiscount ?? 0;
9377
9377
  this.cartInfo.billdetails.discountAmount = response?.data?.billdetails?.discountAmount ?? 0;
9378
9378
  if (this.cartInfo.billdetails.discountAmount <= 0) {
9379
- this.responseData.couponCode = null;
9380
- this.responseData.couponId = null;
9379
+ this.responseData.billdetails.couponCode = null;
9380
+ this.responseData.billdetails.couponId = null;
9381
9381
  localStorage.removeItem("couponCode");
9382
9382
  localStorage.removeItem("couponId");
9383
9383
  }
@@ -9416,8 +9416,8 @@ class CartComponent extends BaseSection {
9416
9416
  this.cartInfo.billdetails.deliveryCharges = 0;
9417
9417
  this.cartInfo.billdetails.discountAmount = response?.data?.billdetails?.discountAmount ?? 0;
9418
9418
  if (this.cartInfo.billdetails.discountAmount <= 0) {
9419
- this.responseData.couponCode = null;
9420
- this.responseData.couponId = null;
9419
+ this.responseData.billdetails.couponCode = null;
9420
+ this.responseData.billdetails.couponId = null;
9421
9421
  localStorage.removeItem("couponCode");
9422
9422
  localStorage.removeItem("couponId");
9423
9423
  }