${uiLabelMap.ProductProduct}
<#if showOrderGiftWrap?default("true") == "true">
${uiLabelMap.OrderGiftWrapAllItems}
${uiLabelMap.OrderNoGiftWrap}
<#if allgiftWraps?has_content>
<#list allgiftWraps as option>
${option.description?default("")} : <@ofbizCurrency amount=option.defaultAmount?default(0) isoCode=currencyUomId/>
#list>
#if>
#if>
${uiLabelMap.OrderQuantity}
${uiLabelMap.CommonUnitPrice}
${uiLabelMap.OrderAdjustments}
${uiLabelMap.OrderItemTotal}
<#assign itemsFromList = false>
<#list shoppingCart.items() as cartLine>
<#assign cartLineIndex = shoppingCart.getItemIndex(cartLine)>
<#assign lineOptionalFeatures = cartLine.getOptionalProductFeatures()>
<#if cartLine.getProductId()?exists>
<#-- product item -->
${cartLine.getProductId()} -
${cartLine.getDescription()?if_exists}
<#if shoppingCart.getOrderType() != "PURCHASE_ORDER">
<#-- only applies to sales orders, not purchase orders -->
<#-- if inventory is not required check to see if it is out of stock and needs to have a message shown about that... -->
<#assign itemProduct = cartLine.getProduct()>
<#assign isStoreInventoryNotRequiredAndNotAvailable = Static["org.ofbiz.product.store.ProductStoreWorker"].isStoreInventoryRequiredAndAvailable(request, itemProduct, cartLine.getQuantity(), false, false)>
<#if isStoreInventoryNotRequiredAndNotAvailable && itemProduct.inventoryMessage?has_content>
(${itemProduct.inventoryMessage})
#if>
#if>
<#else>
<#-- this is a non-product item -->
${cartLine.getItemTypeDescription()?if_exists} : ${cartLine.getName()?if_exists}
#if>
<#-- display the item's features -->
<#assign features = "">
<#if cartLine.getFeaturesForSupplier(dispatcher,shoppingCart.getPartyId())?has_content>
<#assign features = cartLine.getFeaturesForSupplier(dispatcher, shoppingCart.getPartyId())>
<#elseif cartLine.getStandardFeatureList()?has_content>
<#assign features = cartLine.getStandardFeatureList()>
#if>
<#if features?has_content>
${uiLabelMap.ProductFeatures}: <#list features as feature>${feature.description?default("")} #list>
#if>
<#-- show links to survey response for this item -->
<#if cartLine.getAttribute("surveyResponses")?has_content>
Surveys:
<#list cartLine.getAttribute("surveyResponses") as surveyResponseId>
${surveyResponseId}
#list>
#if>
<#if cartLine.getRequirementId()?has_content>
${uiLabelMap.OrderRequirementId} : ${cartLine.getRequirementId()?if_exists}
#if>
<#if cartLine.getQuoteId()?has_content>
<#if cartLine.getQuoteItemSeqId()?has_content>
${uiLabelMap.OrderOrderQuoteId} : ${cartLine.getQuoteId()?if_exists} - ${cartLine.getQuoteItemSeqId()?if_exists}
#if>
#if>
<#if cartLine.getItemComment()?has_content>
${uiLabelMap.CommonComment} :
${cartLine.getItemComment()?if_exists}
#if>
<#if cartLine.getDesiredDeliveryDate()?has_content>
${uiLabelMap.OrderDesiredDeliveryDate}:
${cartLine.getDesiredDeliveryDate()?if_exists}
#if>
<#-- inventory summary -->
<#if cartLine.getProductId()?exists>
<#assign productId = cartLine.getProductId()>
<#assign product = cartLine.getProduct()>
${uiLabelMap.ProductInventory} :
${uiLabelMap.ProductAtp} = ${availableToPromiseMap.get(productId)}, ${uiLabelMap.ProductQoh} = ${quantityOnHandMap.get(productId)}
<#if product.productTypeId == "MARKETING_PKG_AUTO" || product.productTypeId == "MARKETING_PKG_PICK">
${uiLabelMap.ProductMarketingPackageATP} = ${mktgPkgATPMap.get(productId)}, ${uiLabelMap.ProductMarketingPackageQOH} = ${mktgPkgQOHMap.get(productId)}
#if>
#if>
<#if shoppingCart.getOrderType() == "PURCHASE_ORDER">
<#assign currentOrderItemType = cartLine.getItemTypeGenericValue()?if_exists/>
${uiLabelMap.OrderOrderItemType}:
<#if currentOrderItemType?has_content>
${currentOrderItemType.get("description",locale)}
---
#if>
<#list purchaseOrderItemTypeList as orderItemType>
${orderItemType.get("description",locale)}
#list>
#if>
<#-- ship before/after date -->
<#if (cartLine.getIsPromo() && cartLine.getAlternativeOptionProductIds()?has_content)>
<#-- Show alternate gifts if there are any... -->
${uiLabelMap.OrderChooseFollowingForGift}:
<#list cartLine.getAlternativeOptionProductIds() as alternativeOptionProductId>
<#assign alternativeOptionProduct = delegator.findByPrimaryKeyCache("Product", Static["org.ofbiz.base.util.UtilMisc"].toMap("productId", alternativeOptionProductId))>
<#assign alternativeOptionName = Static["org.ofbiz.product.product.ProductContentWrapper"].getProductContentAsText(alternativeOptionProduct, "PRODUCT_NAME", locale, dispatcher)?if_exists>
#list>
#if>
<#-- gift wrap option -->
<#assign showNoGiftWrapOptions = false>
<#assign giftWrapOption = lineOptionalFeatures.GIFT_WRAP?if_exists>
<#assign selectedOption = cartLine.getAdditionalProductFeatureAndAppl("GIFT_WRAP")?if_exists>
<#if giftWrapOption?has_content>
${uiLabelMap.OrderNoGiftWrap}
<#list giftWrapOption as option>
SELECTED#if>>${option.description} : <@ofbizCurrency amount=option.amount?default(0) isoCode=currencyUomId/>
#list>
<#elseif showNoGiftWrapOptions>
${uiLabelMap.OrderNoGiftWrap}
<#else>
#if>
<#-- end gift wrap option -->
<#if cartLine.getIsPromo() || cartLine.getShoppingListId()?exists>
${cartLine.getQuantity()?string.number}
<#else>
#if>
<#if (cartLine.getSelectedAmount() > 0) >
${uiLabelMap.OrderAmount}:
#if>
<#if cartLine.getIsPromo() || (shoppingCart.getOrderType() == "SALES_ORDER" && !security.hasEntityPermission("ORDERMGR", "_SALES_PRICEMOD", session))>
<@ofbizCurrency amount=cartLine.getDisplayPrice() isoCode=currencyUomId/>
<#else>
<#if (cartLine.getSelectedAmount() > 0) >
<#assign price = cartLine.getBasePrice() / cartLine.getSelectedAmount()>
<#else>
<#assign price = cartLine.getBasePrice()>
#if>
#if>
<@ofbizCurrency amount=cartLine.getOtherAdjustments() isoCode=currencyUomId/>
<@ofbizCurrency amount=cartLine.getDisplayItemSubTotal() isoCode=currencyUomId/>
<#if !cartLine.getIsPromo()> <#else> #if>
#list>
<#if shoppingCart.getAdjustments()?has_content>