@nuskin/ns-shop 7.6.1 → 7.6.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 +1 -1
- package/src/cart/cartService.js +1 -1
package/package.json
CHANGED
package/src/cart/cartService.js
CHANGED
|
@@ -299,7 +299,7 @@ function hasPreviewItems() {
|
|
|
299
299
|
return _getCart().hasPreviewItems();
|
|
300
300
|
}
|
|
301
301
|
|
|
302
|
-
function hasDangerousGoods(options = {
|
|
302
|
+
function hasDangerousGoods(options = {cartItems: true}) {
|
|
303
303
|
let retVal = false;
|
|
304
304
|
_getCart().getItems(options).forEach((item) => {
|
|
305
305
|
retVal = retVal || item.product.dangerousGoods;
|