simpo-component-library 3.6.903 → 3.6.904
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/product-desc/product-desc.component.mjs +4 -4
- package/fesm2022/simpo-component-library.mjs +3 -3
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/package.json +1 -1
- package/simpo-component-library-3.6.904.tgz +0 -0
- package/simpo-component-library-3.6.903.tgz +0 -0
|
@@ -20630,13 +20630,13 @@ class ProductDescComponent extends BaseSection {
|
|
|
20630
20630
|
if (slugName) {
|
|
20631
20631
|
this.isLoading = true;
|
|
20632
20632
|
// Tracking Analytics
|
|
20633
|
+
this.analyticsService.startNewContext({
|
|
20634
|
+
'PRODUCT_ID': slugName,
|
|
20635
|
+
}, 'PRODUCT_VIEW');
|
|
20633
20636
|
this.isItemAsFavorite = false;
|
|
20634
20637
|
this.restService.getProductDetailsV2(slugName).subscribe((response) => {
|
|
20635
20638
|
this.isLoading = false;
|
|
20636
20639
|
this.responseData = response[0];
|
|
20637
|
-
this.analyticsService.startNewContext({
|
|
20638
|
-
'PRODUCT_ID': this.responseData?.itemId
|
|
20639
|
-
}, 'PRODUCT_VIEW');
|
|
20640
20640
|
this.responseData?.itemVariant.forEach((varient, idx) => {
|
|
20641
20641
|
varient.quantity = 0;
|
|
20642
20642
|
Object.keys(varient.properties).forEach((varientKey) => {
|