@nuskin/ns-shop 7.2.2 → 7.2.3-mdigi-2491.1
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/package.json +1 -1
- package/src/cart/cartService.js +10 -2
package/package.json
CHANGED
package/src/cart/cartService.js
CHANGED
|
@@ -396,7 +396,11 @@ async function addProductToCart(options) {
|
|
|
396
396
|
qtyRedeemWithPoints: options.qtyRedeemWithPoints,
|
|
397
397
|
loyaltyPointsUsed: options.loyaltyPointsUsed,
|
|
398
398
|
replace: options.replace,
|
|
399
|
-
activeEvents: activeEvents
|
|
399
|
+
activeEvents: activeEvents,
|
|
400
|
+
brand: options.brand,
|
|
401
|
+
category: options.category,
|
|
402
|
+
itemType: options.item_type,
|
|
403
|
+
variant: options.variant
|
|
400
404
|
});
|
|
401
405
|
|
|
402
406
|
const item = itemKey ? cart.getItemByKey(itemKey) : null;
|
|
@@ -466,7 +470,11 @@ async function addSkuToCart(options) {
|
|
|
466
470
|
isBusinessPortfolio: options.isBusinessPortfolio,
|
|
467
471
|
redeem: options.redeem,
|
|
468
472
|
isPitchCart: isPitchCart,
|
|
469
|
-
referrer: options.referrer
|
|
473
|
+
referrer: options.referrer,
|
|
474
|
+
brand: options.brand,
|
|
475
|
+
category: options.category,
|
|
476
|
+
itemType: options.item_type,
|
|
477
|
+
variant: options.variant
|
|
470
478
|
});
|
|
471
479
|
|
|
472
480
|
retVal = {
|