${uiLabelMap.OrderPromotionsApplied}:
<#list shoppingCart.getProductPromoUseInfoIter() as productPromoUseInfo>
<#-- TODO: when promo pretty print is done show promo short description here -->
${uiLabelMap.OrderPromotion}
${uiLabelMap.CommonDetails}
<#if productPromoUseInfo.productPromoCodeId?has_content> - ${uiLabelMap.OrderWithPromoCode} [${productPromoUseInfo.productPromoCodeId}]#if>
<#if (productPromoUseInfo.totalDiscountAmount != 0)> - ${uiLabelMap.CommonTotalValue} <@ofbizCurrency amount=(-1*productPromoUseInfo.totalDiscountAmount) isoCode=shoppingCart.getCurrency()/>#if>
<#if (productPromoUseInfo.quantityLeftInActions > 0)>
- Could be used for ${productPromoUseInfo.quantityLeftInActions} more discounted item<#if (productPromoUseInfo.quantityLeftInActions > 1)>s#if> if added to your cart.
#if>
#list>
${uiLabelMap.OrderCartItemUseinPromotions}:
<#list shoppingCart.items() as cartLine>
<#assign cartLineIndex = shoppingCart.getItemIndex(cartLine)>
<#if cartLine.getIsPromo()>
${uiLabelMap.OrderItemN} ${cartLineIndex+1} [${cartLine.getProductId()?if_exists}] - ${uiLabelMap.OrderIsAPromotionalItem}
<#else>
${uiLabelMap.OrderItemN} ${cartLineIndex+1} [${cartLine.getProductId()?if_exists}] - ${cartLine.getPromoQuantityUsed()?string.number}/${cartLine.getQuantity()?string.number} ${uiLabelMap.CommonUsed} - ${cartLine.getPromoQuantityAvailable()?string.number} ${uiLabelMap.CommonAvailable}
<#list cartLine.getQuantityUsedPerPromoActualIter() as quantityUsedPerPromoActualEntry>
<#assign productPromoActualPK = quantityUsedPerPromoActualEntry.getKey()>
<#assign actualQuantityUsed = quantityUsedPerPromoActualEntry.getValue()>
<#assign isQualifier = "ProductPromoCond" == productPromoActualPK.getEntityName()>
- ${actualQuantityUsed} ${uiLabelMap.CommonUsedAs} <#if isQualifier>${uiLabelMap.CommonQualifier}<#else>${uiLabelMap.CommonBenefit}#if> ${uiLabelMap.OrderOfPromotion}
${uiLabelMap.CommonDetails}
#list>
<#list cartLine.getQuantityUsedPerPromoFailedIter() as quantityUsedPerPromoFailedEntry>
<#assign productPromoFailedPK = quantityUsedPerPromoFailedEntry.getKey()>
<#assign failedQuantityUsed = quantityUsedPerPromoFailedEntry.getValue()>
<#assign isQualifier = "ProductPromoCond" == productPromoFailedPK.getEntityName()>
- ${uiLabelMap.CommonCouldBeUsedAs} <#if isQualifier>${uiLabelMap.CommonQualifier}<#else>${uiLabelMap.CommonBenefit}#if> ${uiLabelMap.OrderOfPromotion}
${uiLabelMap.CommonDetails}
#list>
<#list cartLine.getQuantityUsedPerPromoCandidateIter() as quantityUsedPerPromoCandidateEntry>
<#assign productPromoCandidatePK = quantityUsedPerPromoCandidateEntry.getKey()>
<#assign candidateQuantityUsed = quantityUsedPerPromoCandidateEntry.getValue()>
<#assign isQualifier = "ProductPromoCond" == productPromoCandidatePK.getEntityName()>
#list>
#if>
#list>