diff --git a/src/VirtoCommerce.CoreModule.Web/Scripts/dynamicConditions/all-templates.html b/src/VirtoCommerce.CoreModule.Web/Scripts/dynamicConditions/all-templates.html index 2901170de..660b3fa24 100644 --- a/src/VirtoCommerce.CoreModule.Web/Scripts/dynamicConditions/all-templates.html +++ b/src/VirtoCommerce.CoreModule.Web/Scripts/dynamicConditions/all-templates.html @@ -37,11 +37,13 @@ element1.productIds.length > 1 ? 'show ' + element1.productIds.length + ' items' : element1.productNames && element1.productNames.length - ? element1.productNames[0] + ? element1.productCodes && element1.productCodes.length + ? element1.productNames[0] + ' (' + element1.productCodes[0] + ')' + : element1.productNames[0] : 'select product' }} - - {{element1.productName ? element1.productName : 'select product' }} + + {{element1.productName ? element1.productName + ' (' + element1.productCode + ')' : 'select product' }} {{'select product'}} @@ -338,7 +340,7 @@ items of entry - {{ element1.product && element1.product.productName ? element1.product.productName : 'select entry' }} + {{ element1.product && element1.product.productName ? element1.product.productName + ' (' + element1.product.productCode + ')' : 'select entry' }}