diff --git a/template/product/ProductTransitions.xml b/template/product/ProductTransitions.xml
index d6136ea8..37fe3fbd 100644
--- a/template/product/ProductTransitions.xml
+++ b/template/product/ProductTransitions.xml
@@ -19,6 +19,7 @@ along with this software (see the LICENSE.md file). If not, see
+
@@ -63,6 +64,16 @@ along with this software (see the LICENSE.md file). If not, see
}
if (productFeatureIdList.size() > 1) termSb.append(')')
}
+ if (productCategoryIds) {
+ List productCategoryIdList = productCategoryIds.split(',')
+ termSb.append(' AND categories.productCategoryId:')
+ if (productCategoryIdList.size() > 1) termSb.append('(')
+ for (int i = 0; i < productCategoryIdList.size(); i++) {
+ termSb.append(productCategoryIdList.get(i))
+ if (i < (productCategoryIdList.size() - 1)) termSb.append(' OR ')
+ }
+ if (productCategoryIdList.size() > 1) termSb.append(')')
+ }
if (productTypeEnumId) termSb.append(' AND productTypeEnumId:').append(productTypeEnumId)
if (productClassEnumId) termSb.append(' AND productClassEnumId:').append(productClassEnumId)
if (assetTypeEnumId) termSb.append(' AND assetTypeEnumId:').append(assetTypeEnumId)