simpo-component-library 3.6.286 → 3.6.287
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 +2 -2
- package/fesm2022/simpo-component-library.mjs +1 -1
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/package.json +1 -1
- package/simpo-component-library-3.6.287.tgz +0 -0
- package/simpo-component-library-3.6.286.tgz +0 -0
@@ -8522,7 +8522,7 @@ class CartComponent extends BaseSection {
|
|
8522
8522
|
this.cartInfo.billdetails.totalTax += (item.quantity * (item.itemTax ?? 0));
|
8523
8523
|
});
|
8524
8524
|
this.cartInfo.billdetails.deliveryCharges = (deliveryOption?.minOrderAmount > this.cartInfo.billdetails.totalGrossValue) ? 0 : (deliveryOption?.deliveryCharges ?? 0);
|
8525
|
-
this.cartInfo.billdetails.totalGrossValue = this.cartInfo.billdetails.totalNetValue + this.
|
8525
|
+
this.cartInfo.billdetails.totalGrossValue = this.cartInfo.billdetails.totalNetValue + this.cartInfo.billdetails.totalTaxAfterDiscount;
|
8526
8526
|
this.cartInfo.totalAmount = this.cartInfo.billdetails.totalGrossValue + this.cartInfo.billdetails.deliveryCharges - this.cartInfo.billdetails.discountAmount;
|
8527
8527
|
this.cartInfo.orderedItems = this.USER_CART_ITEMS;
|
8528
8528
|
}
|