@nuskin/ns-shop 7.8.2-pa-933.2 → 7.8.2
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 +2 -2
- package/src/cart/cart.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuskin/ns-shop",
|
|
3
|
-
"version": "7.8.2
|
|
3
|
+
"version": "7.8.2",
|
|
4
4
|
"description": "The description that will amaze and astound your audience when they read it",
|
|
5
5
|
"main": "src/shop.js",
|
|
6
6
|
"scripts": {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"@nuskin/ns-common-lib": "1.4.8",
|
|
27
27
|
"@nuskin/ns-feature-flags": "1.5.0",
|
|
28
28
|
"@nuskin/ns-loyalty-web": "1.5.7",
|
|
29
|
-
"@nuskin/ns-product-lib": "2.21.1
|
|
29
|
+
"@nuskin/ns-product-lib": "2.21.1",
|
|
30
30
|
"@nuskin/nuskinjquery": "2.3.1",
|
|
31
31
|
"@nuskin/order-model": "3.1.3",
|
|
32
32
|
"@nuskin/product-lib": "2.4.0",
|
package/src/cart/cart.js
CHANGED
|
@@ -281,7 +281,7 @@ export default function Cart(cartData) {
|
|
|
281
281
|
if (cartItem.isAgelocme()) {
|
|
282
282
|
product.agelocme = cartItem.product.agelocme;
|
|
283
283
|
}
|
|
284
|
-
const eventNames = product.eventName ? [product.eventName] : null;
|
|
284
|
+
const eventNames = cartItem.product.eventName ? [cartItem.product.eventName] : null;
|
|
285
285
|
product.setPriceAndPvFromType(cartItem.product.priceType, eventNames);
|
|
286
286
|
cartItem.product = product;
|
|
287
287
|
publish(events.shop.CART_UPDATED, {
|