@nuskin/ns-product-lib 2.17.3 → 2.17.5
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 +2 -2
package/package.json
CHANGED
package/src/graph-ql/product.js
CHANGED
@@ -447,7 +447,7 @@ function mapChildSKU(kitBundleProducts) {
|
|
447
447
|
productId: product.id,
|
448
448
|
skuId: variant.sku,
|
449
449
|
type: kitProduct.isMandatory ? 'MANDATORY' : 'OPTIONAL',
|
450
|
-
skuQuantity:
|
450
|
+
skuQuantity: kitProduct.quantity,
|
451
451
|
// eslint-disable-next-line max-len
|
452
452
|
availableChannels: Array.isArray(kitBundleProducts.availableChannels) ? kitBundleProducts.availableChannels.join(',') : kitBundleProducts.availableChannels,
|
453
453
|
inventory: {
|
@@ -472,7 +472,7 @@ function mapChildSKU(kitBundleProducts) {
|
|
472
472
|
}
|
473
473
|
}
|
474
474
|
}
|
475
|
-
});
|
475
|
+
}).flat();
|
476
476
|
}
|
477
477
|
|
478
478
|
|