simpo-component-library 3.6.664 → 3.6.665
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 +7 -2
- package/fesm2022/simpo-component-library.mjs +6 -1
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/components/input-fields/input-fields.component.d.ts +1 -1
- package/lib/ecommerce/sections/featured-category/featured-category.component.d.ts +1 -1
- package/lib/ecommerce/sections/featured-category/featured-collection.component.d.ts +1 -1
- package/lib/ecommerce/sections/new-collection/new-collection.component.d.ts +1 -1
- package/lib/sections/image-grid-hotspot/image-grid-hotspot.component.d.ts +1 -1
- package/lib/sections/image-grid-section/image-grid-section.component.d.ts +1 -1
- package/package.json +1 -1
- package/simpo-component-library-3.6.665.tgz +0 -0
- package/simpo-component-library-3.6.664.tgz +0 -0
|
@@ -9097,7 +9097,12 @@ class CartComponent extends BaseSection {
|
|
|
9097
9097
|
}
|
|
9098
9098
|
}
|
|
9099
9099
|
async proceedToPayment() {
|
|
9100
|
-
|
|
9100
|
+
const referralDetails = JSON.parse(this.storageService.getReferralDetails() ?? "{}");
|
|
9101
|
+
let result = "";
|
|
9102
|
+
if (referralDetails && Object.keys(referralDetails).length > 0) {
|
|
9103
|
+
result = Object.values(referralDetails).find((item) => item.referralEvents?.includes('PRODUCT_PURCHASE')) || "";
|
|
9104
|
+
}
|
|
9105
|
+
console.log("getting Final product purchase details", result);
|
|
9101
9106
|
// if (!this.storageService.getUser()) {
|
|
9102
9107
|
// this.messageService.add({ severity: 'info', summary: 'Login', detail: 'Please login with mobile number to order' });
|
|
9103
9108
|
// return;
|