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.
- package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +5 -5
- package/fesm2022/simpo-component-library.mjs +4 -4
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts +1 -1
- package/lib/sections/banner-carousel/banner-carousel.component.d.ts +2 -2
- package/lib/sections/carousel-banner/carousel-banner.component.d.ts +1 -1
- package/lib/sections/image-section/image-section.component.d.ts +2 -2
- package/package.json +1 -1
- package/simpo-component-library-3.6.838.tgz +0 -0
- package/simpo-component-library-3.6.837.tgz +0 -0
|
@@ -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
|
}
|