@nuskin/ns-shop 7.7.0-mdigi-6056.4 → 7.7.0-mdigi-6056.5
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/cartItem.js +2 -2
package/package.json
CHANGED
package/src/cart/cartItem.js
CHANGED
|
@@ -293,7 +293,7 @@ export default function CartItem(cartItemData) {
|
|
|
293
293
|
return this.product.marketAttributes;
|
|
294
294
|
}
|
|
295
295
|
|
|
296
|
-
this.
|
|
296
|
+
this.unitPrice = function () {
|
|
297
297
|
if (AccountManager.isCustomer() || AccountManager.isPreferredCustomer()) {
|
|
298
298
|
return this.product.priceMap.RTL;
|
|
299
299
|
} else if (AccountManager.isDistributor()) {
|
|
@@ -301,7 +301,7 @@ export default function CartItem(cartItemData) {
|
|
|
301
301
|
}
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
this.
|
|
304
|
+
this.salesPrice = function () {
|
|
305
305
|
if (AccountManager.isCustomer() || AccountManager.isPreferredCustomer()) {
|
|
306
306
|
if (this.product.priceType.WADR) {
|
|
307
307
|
return this.product.priceMap.WADR;
|