@nuskin/ns-product-lib 2.17.3 → 2.17.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/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
|
|