From d62dbffd3294b7ee257baa69c6391d776717dc23 Mon Sep 17 00:00:00 2001 From: Daniel Taylor Date: Fri, 22 May 2020 20:12:24 -0500 Subject: [PATCH] Returned idCode of features, correct product availability and productFeatureId on the variants --- service/popstore/ProductServices.xml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/service/popstore/ProductServices.xml b/service/popstore/ProductServices.xml index 5bc36606..22c7697e 100755 --- a/service/popstore/ProductServices.xml +++ b/service/popstore/ProductServices.xml @@ -160,7 +160,7 @@ along with this software (see the LICENSE.md file). If not, see @@ -391,7 +391,7 @@ along with this software (see the LICENSE.md file). If not, see - + @@ -416,7 +416,7 @@ along with this software (see the LICENSE.md file). If not, see if (!featureSet) { listFeatures.put(content, [[productFeatureId:productFeature.productFeatureId, - productFeatureTypeEnumId:productFeature.productFeatureTypeEnumId, + productFeatureTypeEnumId:productFeature.productFeatureTypeEnumId, idCode:productFeature.idCode, description:productFeature.description, abbrev:productFeature.abbrev, price:selectedPrices]]) } else { boolean isItemInList = false @@ -428,17 +428,17 @@ along with this software (see the LICENSE.md file). If not, see } if(!isItemInList) { featureSet.add([productFeatureId:productFeature.productFeatureId, - productFeatureTypeEnumId:productFeature.productFeatureTypeEnumId, + productFeatureTypeEnumId:productFeature.productFeatureTypeEnumId, idCode:productFeature.idCode, description:productFeature.description, abbrev:productFeature.abbrev, price:selectedPrices]) } } def optionSet = variantOptions.get(item) if (!optionSet) { - variantOptions.put(item, [[productId: variantProductAssoc.toProductId, description:productFeature.description, quantity: productQuantity.productQuantity, + variantOptions.put(item, [[productId: variantProductAssoc.toProductId, description:productFeature.description, quantity: productQuantity.productQuantity, productFeatureId:productFeature.productFeatureId, prices:selectedPrices, contentList:productContentList]]) } else { - optionSet.add([productId: variantProductAssoc.toProductId, description:productFeature.description, quantity: productQuantity.productQuantity, + optionSet.add([productId: variantProductAssoc.toProductId, description:productFeature.description, quantity: productQuantity.productQuantity, productFeatureId:productFeature.productFeatureId, prices:selectedPrices, contentList:productContentList]) } priceSet = null