@nuskin/ns-shop 7.0.7-cx24-70033.1 → 7.0.7-cx24-70033.2

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuskin/ns-shop",
3
- "version": "7.0.7-cx24-70033.1",
3
+ "version": "7.0.7-cx24-70033.2",
4
4
  "description": "The description that will amaze and astound your audience when they read it",
5
5
  "main": "src/shop.js",
6
6
  "scripts": {
@@ -393,7 +393,8 @@ 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 === "OPTIONAL")) return null
396
+ if (personalOffer != null && selectedVariants && cs.skuId != selectedVariants[cs.productId] && (cs.type !== "BUNDLE")) return null
397
+ if (personalOffer != null && selectedVariants && cs.skuId != selectedVariants[cs.productId] && (cs.type === "OPTIONAL")) return null
397
398
  const childSku =
398
399
  (personalOffer != null && selectedVariants && selectedVariants[cs.productId] && config.MySite_graphql_active)
399
400
  ? {