@nuskin/ns-product-lib 2.17.2-cx24-7003.3 → 2.17.2-cx24-7003.4
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 +1 -1
package/package.json
CHANGED
package/src/graph-ql/product.js
CHANGED
@@ -446,7 +446,7 @@ function mapChildSKU(kitBundleProducts) {
|
|
446
446
|
return {
|
447
447
|
productId: product.id,
|
448
448
|
skuId: variant.sku,
|
449
|
-
type:
|
449
|
+
type: kitProduct.isMandatory ? 'MANDATORY' : 'OPTIONAL',
|
450
450
|
skuQuantity: variant.availableQuantity,
|
451
451
|
// eslint-disable-next-line max-len
|
452
452
|
availableChannels: Array.isArray(kitBundleProducts.availableChannels) ? kitBundleProducts.availableChannels.join(',') : kitBundleProducts.availableChannels,
|