@nuskin/ns-shop 7.0.6 → 7.0.7-cx24-70033.1
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
CHANGED
|
@@ -393,7 +393,7 @@ function _assembleChildSkus(requestData, options) {
|
|
|
393
393
|
if(personalOffer != null && productWithVariant.length > 0 && productWithVariant[0].variantSelected){
|
|
394
394
|
selectedVariants = productWithVariant[0].variantSelected;
|
|
395
395
|
}
|
|
396
|
-
if (personalOffer != null && selectedVariants && cs.skuId != selectedVariants[cs.productId] && (cs.type !== "BUNDLE" && cs.type
|
|
396
|
+
if (personalOffer != null && selectedVariants && cs.skuId != selectedVariants[cs.productId] && (cs.type !== "BUNDLE" && cs.type === "OPTIONAL")) return null
|
|
397
397
|
const childSku =
|
|
398
398
|
(personalOffer != null && selectedVariants && selectedVariants[cs.productId] && config.MySite_graphql_active)
|
|
399
399
|
? {
|