tabexseriescomponents 0.50.194 → 0.50.195
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/dist/index.cjs.js +26 -19
- package/dist/index.esm.js +26 -19
- package/dist/index.umd.js +26 -19
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -94260,20 +94260,23 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
94260
94260
|
// Check if it's the second click
|
|
94261
94261
|
if (sectionproperties.hideshowcardtransition == 'Show') {
|
|
94262
94262
|
if (clickCount === 1) {
|
|
94263
|
+
// Do whatever you want on the second click
|
|
94264
|
+
var productidtobesend = null;
|
|
94263
94265
|
if (sectionproperties.urlwithproductname == 'Yes') {
|
|
94264
|
-
item.productendpointurl;
|
|
94266
|
+
productidtobesend = item.productendpointurl;
|
|
94265
94267
|
} else {
|
|
94266
|
-
item.productid;
|
|
94268
|
+
productidtobesend = item.productid;
|
|
94267
94269
|
}
|
|
94268
|
-
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute,
|
|
94270
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid);
|
|
94269
94271
|
}
|
|
94270
94272
|
} else {
|
|
94273
|
+
var productidtobesend = null;
|
|
94271
94274
|
if (sectionproperties.urlwithproductname == 'Yes') {
|
|
94272
|
-
item.productendpointurl;
|
|
94275
|
+
productidtobesend = item.productendpointurl;
|
|
94273
94276
|
} else {
|
|
94274
|
-
item.productid;
|
|
94277
|
+
productidtobesend = item.productid;
|
|
94275
94278
|
}
|
|
94276
|
-
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute,
|
|
94279
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid);
|
|
94277
94280
|
}
|
|
94278
94281
|
};
|
|
94279
94282
|
var PillContainer = function PillContainer() {
|
|
@@ -94441,12 +94444,13 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
94441
94444
|
var _sectionproperties$se;
|
|
94442
94445
|
if (((_sectionproperties$se = sectionproperties.sectionproperties) === null || _sectionproperties$se === void 0 ? void 0 : _sectionproperties$se.onClickRoute) == 'None') ; else {
|
|
94443
94446
|
e.stopPropagation();
|
|
94447
|
+
var productidtobesend = null;
|
|
94444
94448
|
if (sectionproperties.urlwithproductname == 'Yes') {
|
|
94445
|
-
item.productendpointurl;
|
|
94449
|
+
productidtobesend = item.productendpointurl;
|
|
94446
94450
|
} else {
|
|
94447
|
-
item.productid;
|
|
94451
|
+
productidtobesend = item.productid;
|
|
94448
94452
|
}
|
|
94449
|
-
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute,
|
|
94453
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid);
|
|
94450
94454
|
}
|
|
94451
94455
|
}
|
|
94452
94456
|
}, Image('normal')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -94469,12 +94473,13 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
94469
94473
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
94470
94474
|
onClick: function onClick() {
|
|
94471
94475
|
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'None') ; else {
|
|
94476
|
+
var productidtobesend = null;
|
|
94472
94477
|
if (sectionproperties.urlwithproductname == 'Yes') {
|
|
94473
|
-
item.productendpointurl;
|
|
94478
|
+
productidtobesend = item.productendpointurl;
|
|
94474
94479
|
} else {
|
|
94475
|
-
item.productid;
|
|
94480
|
+
productidtobesend = item.productid;
|
|
94476
94481
|
}
|
|
94477
|
-
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute,
|
|
94482
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid);
|
|
94478
94483
|
}
|
|
94479
94484
|
},
|
|
94480
94485
|
"class": sectionproperties.wordbreak == '1' ? "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak1 font-md-13 m-0 ' : "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak2 font-md-13 wordbreak-md-4 m-0 ',
|
|
@@ -94547,12 +94552,13 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
94547
94552
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
94548
94553
|
onClick: function onClick() {
|
|
94549
94554
|
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'None') ; else {
|
|
94555
|
+
var productidtobesend = null;
|
|
94550
94556
|
if (sectionproperties.urlwithproductname == 'Yes') {
|
|
94551
|
-
item.productendpointurl;
|
|
94557
|
+
productidtobesend = item.productendpointurl;
|
|
94552
94558
|
} else {
|
|
94553
|
-
item.productid;
|
|
94559
|
+
productidtobesend = item.productid;
|
|
94554
94560
|
}
|
|
94555
|
-
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute,
|
|
94561
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid);
|
|
94556
94562
|
}
|
|
94557
94563
|
},
|
|
94558
94564
|
"class": sectionproperties.wordbreak == '1' ? "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak1 font-md-13 m-0 pname ' : "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak2 font-md-13 wordbreak-md-4 m-0 pname ',
|
|
@@ -94691,14 +94697,15 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
94691
94697
|
if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 0) {
|
|
94692
94698
|
addtocartfunc();
|
|
94693
94699
|
} else if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 1) {
|
|
94694
|
-
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute,
|
|
94700
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid);
|
|
94695
94701
|
} else {
|
|
94702
|
+
var productidtobesend = null;
|
|
94696
94703
|
if (sectionproperties.urlwithproductname == 'Yes') {
|
|
94697
|
-
item.productendpointurl;
|
|
94704
|
+
productidtobesend = item.productendpointurl;
|
|
94698
94705
|
} else {
|
|
94699
|
-
item.productid;
|
|
94706
|
+
productidtobesend = item.productid;
|
|
94700
94707
|
}
|
|
94701
|
-
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute,
|
|
94708
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid);
|
|
94702
94709
|
}
|
|
94703
94710
|
}
|
|
94704
94711
|
}
|
package/dist/index.esm.js
CHANGED
|
@@ -94208,20 +94208,23 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
94208
94208
|
// Check if it's the second click
|
|
94209
94209
|
if (sectionproperties.hideshowcardtransition == 'Show') {
|
|
94210
94210
|
if (clickCount === 1) {
|
|
94211
|
+
// Do whatever you want on the second click
|
|
94212
|
+
var productidtobesend = null;
|
|
94211
94213
|
if (sectionproperties.urlwithproductname == 'Yes') {
|
|
94212
|
-
item.productendpointurl;
|
|
94214
|
+
productidtobesend = item.productendpointurl;
|
|
94213
94215
|
} else {
|
|
94214
|
-
item.productid;
|
|
94216
|
+
productidtobesend = item.productid;
|
|
94215
94217
|
}
|
|
94216
|
-
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute,
|
|
94218
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid);
|
|
94217
94219
|
}
|
|
94218
94220
|
} else {
|
|
94221
|
+
var productidtobesend = null;
|
|
94219
94222
|
if (sectionproperties.urlwithproductname == 'Yes') {
|
|
94220
|
-
item.productendpointurl;
|
|
94223
|
+
productidtobesend = item.productendpointurl;
|
|
94221
94224
|
} else {
|
|
94222
|
-
item.productid;
|
|
94225
|
+
productidtobesend = item.productid;
|
|
94223
94226
|
}
|
|
94224
|
-
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute,
|
|
94227
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid);
|
|
94225
94228
|
}
|
|
94226
94229
|
};
|
|
94227
94230
|
var PillContainer = function PillContainer() {
|
|
@@ -94389,12 +94392,13 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
94389
94392
|
var _sectionproperties$se;
|
|
94390
94393
|
if (((_sectionproperties$se = sectionproperties.sectionproperties) === null || _sectionproperties$se === void 0 ? void 0 : _sectionproperties$se.onClickRoute) == 'None') ; else {
|
|
94391
94394
|
e.stopPropagation();
|
|
94395
|
+
var productidtobesend = null;
|
|
94392
94396
|
if (sectionproperties.urlwithproductname == 'Yes') {
|
|
94393
|
-
item.productendpointurl;
|
|
94397
|
+
productidtobesend = item.productendpointurl;
|
|
94394
94398
|
} else {
|
|
94395
|
-
item.productid;
|
|
94399
|
+
productidtobesend = item.productid;
|
|
94396
94400
|
}
|
|
94397
|
-
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute,
|
|
94401
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid);
|
|
94398
94402
|
}
|
|
94399
94403
|
}
|
|
94400
94404
|
}, Image('normal')), /*#__PURE__*/React.createElement("div", {
|
|
@@ -94417,12 +94421,13 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
94417
94421
|
}, /*#__PURE__*/React.createElement("p", {
|
|
94418
94422
|
onClick: function onClick() {
|
|
94419
94423
|
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'None') ; else {
|
|
94424
|
+
var productidtobesend = null;
|
|
94420
94425
|
if (sectionproperties.urlwithproductname == 'Yes') {
|
|
94421
|
-
item.productendpointurl;
|
|
94426
|
+
productidtobesend = item.productendpointurl;
|
|
94422
94427
|
} else {
|
|
94423
|
-
item.productid;
|
|
94428
|
+
productidtobesend = item.productid;
|
|
94424
94429
|
}
|
|
94425
|
-
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute,
|
|
94430
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid);
|
|
94426
94431
|
}
|
|
94427
94432
|
},
|
|
94428
94433
|
"class": sectionproperties.wordbreak == '1' ? "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak1 font-md-13 m-0 ' : "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak2 font-md-13 wordbreak-md-4 m-0 ',
|
|
@@ -94495,12 +94500,13 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
94495
94500
|
}, /*#__PURE__*/React.createElement("p", {
|
|
94496
94501
|
onClick: function onClick() {
|
|
94497
94502
|
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'None') ; else {
|
|
94503
|
+
var productidtobesend = null;
|
|
94498
94504
|
if (sectionproperties.urlwithproductname == 'Yes') {
|
|
94499
|
-
item.productendpointurl;
|
|
94505
|
+
productidtobesend = item.productendpointurl;
|
|
94500
94506
|
} else {
|
|
94501
|
-
item.productid;
|
|
94507
|
+
productidtobesend = item.productid;
|
|
94502
94508
|
}
|
|
94503
|
-
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute,
|
|
94509
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid);
|
|
94504
94510
|
}
|
|
94505
94511
|
},
|
|
94506
94512
|
"class": sectionproperties.wordbreak == '1' ? "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak1 font-md-13 m-0 pname ' : "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak2 font-md-13 wordbreak-md-4 m-0 pname ',
|
|
@@ -94639,14 +94645,15 @@ var Simpleproductcard = function Simpleproductcard(props) {
|
|
|
94639
94645
|
if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 0) {
|
|
94640
94646
|
addtocartfunc();
|
|
94641
94647
|
} else if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 1) {
|
|
94642
|
-
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute,
|
|
94648
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid);
|
|
94643
94649
|
} else {
|
|
94650
|
+
var productidtobesend = null;
|
|
94644
94651
|
if (sectionproperties.urlwithproductname == 'Yes') {
|
|
94645
|
-
item.productendpointurl;
|
|
94652
|
+
productidtobesend = item.productendpointurl;
|
|
94646
94653
|
} else {
|
|
94647
|
-
item.productid;
|
|
94654
|
+
productidtobesend = item.productid;
|
|
94648
94655
|
}
|
|
94649
|
-
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute,
|
|
94656
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid);
|
|
94650
94657
|
}
|
|
94651
94658
|
}
|
|
94652
94659
|
}
|
package/dist/index.umd.js
CHANGED
|
@@ -94066,20 +94066,23 @@
|
|
|
94066
94066
|
// Check if it's the second click
|
|
94067
94067
|
if (sectionproperties.hideshowcardtransition == 'Show') {
|
|
94068
94068
|
if (clickCount === 1) {
|
|
94069
|
+
// Do whatever you want on the second click
|
|
94070
|
+
var productidtobesend = null;
|
|
94069
94071
|
if (sectionproperties.urlwithproductname == 'Yes') {
|
|
94070
|
-
item.productendpointurl;
|
|
94072
|
+
productidtobesend = item.productendpointurl;
|
|
94071
94073
|
} else {
|
|
94072
|
-
item.productid;
|
|
94074
|
+
productidtobesend = item.productid;
|
|
94073
94075
|
}
|
|
94074
|
-
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute,
|
|
94076
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid);
|
|
94075
94077
|
}
|
|
94076
94078
|
} else {
|
|
94079
|
+
var productidtobesend = null;
|
|
94077
94080
|
if (sectionproperties.urlwithproductname == 'Yes') {
|
|
94078
|
-
item.productendpointurl;
|
|
94081
|
+
productidtobesend = item.productendpointurl;
|
|
94079
94082
|
} else {
|
|
94080
|
-
item.productid;
|
|
94083
|
+
productidtobesend = item.productid;
|
|
94081
94084
|
}
|
|
94082
|
-
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute,
|
|
94085
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid);
|
|
94083
94086
|
}
|
|
94084
94087
|
};
|
|
94085
94088
|
var PillContainer = function PillContainer() {
|
|
@@ -94247,12 +94250,13 @@
|
|
|
94247
94250
|
var _sectionproperties$se;
|
|
94248
94251
|
if (((_sectionproperties$se = sectionproperties.sectionproperties) === null || _sectionproperties$se === void 0 ? void 0 : _sectionproperties$se.onClickRoute) == 'None') ; else {
|
|
94249
94252
|
e.stopPropagation();
|
|
94253
|
+
var productidtobesend = null;
|
|
94250
94254
|
if (sectionproperties.urlwithproductname == 'Yes') {
|
|
94251
|
-
item.productendpointurl;
|
|
94255
|
+
productidtobesend = item.productendpointurl;
|
|
94252
94256
|
} else {
|
|
94253
|
-
item.productid;
|
|
94257
|
+
productidtobesend = item.productid;
|
|
94254
94258
|
}
|
|
94255
|
-
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute,
|
|
94259
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid);
|
|
94256
94260
|
}
|
|
94257
94261
|
}
|
|
94258
94262
|
}, Image('normal')), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
@@ -94275,12 +94279,13 @@
|
|
|
94275
94279
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
94276
94280
|
onClick: function onClick() {
|
|
94277
94281
|
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'None') ; else {
|
|
94282
|
+
var productidtobesend = null;
|
|
94278
94283
|
if (sectionproperties.urlwithproductname == 'Yes') {
|
|
94279
|
-
item.productendpointurl;
|
|
94284
|
+
productidtobesend = item.productendpointurl;
|
|
94280
94285
|
} else {
|
|
94281
|
-
item.productid;
|
|
94286
|
+
productidtobesend = item.productid;
|
|
94282
94287
|
}
|
|
94283
|
-
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute,
|
|
94288
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid);
|
|
94284
94289
|
}
|
|
94285
94290
|
},
|
|
94286
94291
|
"class": sectionproperties.wordbreak == '1' ? "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak1 font-md-13 m-0 ' : "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak2 font-md-13 wordbreak-md-4 m-0 ',
|
|
@@ -94353,12 +94358,13 @@
|
|
|
94353
94358
|
}, /*#__PURE__*/React__default["default"].createElement("p", {
|
|
94354
94359
|
onClick: function onClick() {
|
|
94355
94360
|
if ((sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute) == 'None') ; else {
|
|
94361
|
+
var productidtobesend = null;
|
|
94356
94362
|
if (sectionproperties.urlwithproductname == 'Yes') {
|
|
94357
|
-
item.productendpointurl;
|
|
94363
|
+
productidtobesend = item.productendpointurl;
|
|
94358
94364
|
} else {
|
|
94359
|
-
item.productid;
|
|
94365
|
+
productidtobesend = item.productid;
|
|
94360
94366
|
}
|
|
94361
|
-
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute,
|
|
94367
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid);
|
|
94362
94368
|
}
|
|
94363
94369
|
},
|
|
94364
94370
|
"class": sectionproperties.wordbreak == '1' ? "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak1 font-md-13 m-0 pname ' : "".concat(card_cssstyles.productNameStyles) + ' wordbreak wordbreak2 font-md-13 wordbreak-md-4 m-0 pname ',
|
|
@@ -94497,14 +94503,15 @@
|
|
|
94497
94503
|
if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 0) {
|
|
94498
94504
|
addtocartfunc();
|
|
94499
94505
|
} else if (sectionproperties.automaticaddtocart == 'Yes' && item.hasvariants == 1) {
|
|
94500
|
-
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute,
|
|
94506
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid);
|
|
94501
94507
|
} else {
|
|
94508
|
+
var productidtobesend = null;
|
|
94502
94509
|
if (sectionproperties.urlwithproductname == 'Yes') {
|
|
94503
|
-
item.productendpointurl;
|
|
94510
|
+
productidtobesend = item.productendpointurl;
|
|
94504
94511
|
} else {
|
|
94505
|
-
item.productid;
|
|
94512
|
+
productidtobesend = item.productid;
|
|
94506
94513
|
}
|
|
94507
|
-
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute,
|
|
94514
|
+
cardonclickfunctionContext(sectionproperties === null || sectionproperties === void 0 ? void 0 : sectionproperties.onClickRoute, productidtobesend, props.fetchingtypeprops, item.collectionid);
|
|
94508
94515
|
}
|
|
94509
94516
|
}
|
|
94510
94517
|
}
|