@nuskin/ns-product-lib 2.17.2-cx24-7003.1 → 2.17.2-cx24-7003.2
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/src/graph-ql/product.js +1 -1
package/package.json
CHANGED
package/src/graph-ql/product.js
CHANGED
@@ -441,7 +441,7 @@ function mapChildSKU(kitBundleProducts) {
|
|
441
441
|
const personalOffer = sessionStorage.getItem('personalOffer') ? JSON.parse(sessionStorage.getItem('personalOffer')) : false
|
442
442
|
return kitBundleProducts.kitProducts.map((kitProduct) => {
|
443
443
|
const { product } = kitProduct;
|
444
|
-
if (product.variants.length > 1 &&
|
444
|
+
if (product.variants.length > 1 && typeof personalOffer === 'object') {
|
445
445
|
return product.variants.map((variant) => {
|
446
446
|
return {
|
447
447
|
productId: product.id,
|