@nuskin/ns-shop 7.0.10-cx24-7079.1 → 7.0.11-CodeFix.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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuskin/ns-shop",
3
- "version": "7.0.10-cx24-7079.1",
3
+ "version": "7.0.11-CodeFix.1",
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": {
@@ -404,7 +404,7 @@ function _assembleChildSkus(requestData, options) {
404
404
  if(personalOffer != null && productWithVariant.length > 0 && productWithVariant[0].variantSelected){
405
405
  selectedVariants = productWithVariant[0].variantSelected;
406
406
  }
407
- if (personalOffer != null && selectedVariants && cs.skuId != selectedVariants[cs.productId] && (cs.type !== "BUNDLE" && cs.type !== "OPTIONAL")) return null
407
+ if (personalOffer != null && selectedVariants && cs.skuId != selectedVariants[cs.productId] && (cs.type !== "BUNDLE" && cs.type !== "OPTIONAL" && cs.type !== "SKUKIT")) return null
408
408
  const childSku =
409
409
  (personalOffer != null && selectedVariants && selectedVariants[cs.productId] && config.MySite_graphql_active)
410
410
  ? {