simpo-component-library 1.6.132 → 1.6.136
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +3 -1
- package/esm2022/lib/services/storage.service.mjs +4 -2
- package/fesm2022/simpo-component-library.mjs +5 -1
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/package.json +1 -1
- package/simpo-component-library-1.6.135.tgz +0 -0
- package/simpo-component-library-1.6.136.tgz +0 -0
- package/simpo-component-library-1.6.129.tgz +0 -0
- package/simpo-component-library-1.6.130.tgz +0 -0
- package/simpo-component-library-1.6.131.tgz +0 -0
- package/simpo-component-library-1.6.132.tgz +0 -0
@@ -3549,7 +3549,9 @@ class StorageServiceService {
|
|
3549
3549
|
this.restService.getUserItems(userDetails.userId, "WISHLIST")
|
3550
3550
|
]);
|
3551
3551
|
request.subscribe((cartResponse) => {
|
3552
|
-
|
3552
|
+
console.log("Cart Response : ", cartResponse);
|
3553
|
+
const userCart = cartResponse?.[0].data[0];
|
3554
|
+
console.log("Cart Response : ", userCart);
|
3553
3555
|
if (userCart.cartId)
|
3554
3556
|
localStorage.setItem("cartId", userCart.cartId);
|
3555
3557
|
this.getUserCart().then((userCartResponse) => {
|
@@ -4865,6 +4867,7 @@ class CartComponent extends BaseSection {
|
|
4865
4867
|
"mobile": this.userDetails?.contact.mobile,
|
4866
4868
|
"email": this.userDetails?.contact.email,
|
4867
4869
|
};
|
4870
|
+
this.cartInfo["cartId"] = localStorage.getItem("cartId");
|
4868
4871
|
console.log("Response : ", response);
|
4869
4872
|
if (response)
|
4870
4873
|
this.proceedToCheckout();
|
@@ -4883,6 +4886,7 @@ class CartComponent extends BaseSection {
|
|
4883
4886
|
"mobile": this.userDetails?.contact.mobile,
|
4884
4887
|
"email": this.userDetails?.contact.email,
|
4885
4888
|
};
|
4889
|
+
this.cartInfo["cartId"] = localStorage.getItem("cartId");
|
4886
4890
|
console.log("Response : ", response);
|
4887
4891
|
if (response)
|
4888
4892
|
this.proceedToCheckout();
|