<#if productImageList?has_content>
<#-- Product image/name/price -->
${productContentWrapper.get("PRODUCT_NAME", "html")!}
${productContentWrapper.get("DESCRIPTION", "html")!}
${product.productId!}
<#-- example of showing a certain type of feature with the product -->
<#if sizeProductFeatureAndAppls?has_content>
<#if (sizeProductFeatureAndAppls?size == 1)>
${uiLabelMap.OrderSizeAvailableSingle}:
<#else>
${uiLabelMap.OrderSizeAvailableMultiple}:
#if>
<#list sizeProductFeatureAndAppls as sizeProductFeatureAndAppl>
${sizeProductFeatureAndAppl.description?default(
sizeProductFeatureAndAppl.abbrev?default(sizeProductFeatureAndAppl.productFeatureId))}
<#if sizeProductFeatureAndAppl_has_next>,#if>
#list>
#if>
<#-- for prices:
- if price < competitivePrice, show competitive or "Compare At" price
- if price < listPrice, show list price
- if price < defaultPrice and defaultPrice < listPrice, show default
- if isSale show price with salePrice style and print "On Sale!"
-->
<#if price.competitivePrice?? && price.price?? && price.price < price.competitivePrice>
${uiLabelMap.ProductCompareAtPrice}:
<@ofbizCurrency amount=price.competitivePrice isoCode=price.currencyUsed />
#if>
<#if price.listPrice?? && price.price?? && price.price < price.listPrice>
${uiLabelMap.ProductListPrice}:
<@ofbizCurrency amount=price.listPrice isoCode=price.currencyUsed />
#if>
<#if price.listPrice?? && price.defaultPrice?? && price.price?? &&
price.price < price.defaultPrice && price.defaultPrice < price.listPrice>
${uiLabelMap.ProductRegularPrice}:
<@ofbizCurrency amount=price.defaultPrice isoCode=price.currencyUsed />
#if>
<#if price.specialPromoPrice??>
${uiLabelMap.ProductSpecialPromoPrice}:
<@ofbizCurrency amount=price.specialPromoPrice isoCode=price.currencyUsed />
#if>
<#if price.isSale?? && price.isSale>
${uiLabelMap.OrderOnSale}!
<#assign priceStyle = "salePrice" />
<#else>
<#assign priceStyle = "regularPrice" />
#if>
${uiLabelMap.OrderYourPrice}:
<#if "Y" = product.isVirtual!>
${uiLabelMap.CommonFrom}
#if>
<@ofbizCurrency amount=price.price isoCode=price.currencyUsed />
<#if product.productTypeId! == "ASSET_USAGE" || product.productTypeId! == "ASSET_USAGE_OUT_IN">
<#if product.reserv2ndPPPerc?? && product.reserv2ndPPPerc != 0>
${uiLabelMap.ProductReserv2ndPPPerc}
<#if !product.reservNthPPPerc?? || product.reservNthPPPerc == 0>
${uiLabelMap.CommonUntil} ${product.reservMaxPersons!1}
#if>
<@ofbizCurrency amount=product.reserv2ndPPPerc*price.price/100 isoCode=price.currencyUsed />
#if>
<#if product.reservNthPPPerc?? &&product.reservNthPPPerc != 0>
${uiLabelMap.ProductReservNthPPPerc}
<#if !product.reserv2ndPPPerc?? || product.reserv2ndPPPerc == 0>
${uiLabelMap.ProductReservSecond}
<#else>
${uiLabelMap.ProductReservThird}
#if>
${uiLabelMap.CommonUntil} ${product.reservMaxPersons!1}, ${uiLabelMap.ProductEach}:
<@ofbizCurrency amount=product.reservNthPPPerc*price.price/100 isoCode=price.currencyUsed />
#if>
<#if (!product.reserv2ndPPPerc?? || product.reserv2ndPPPerc == 0) && (!product.reservNthPPPerc?? ||
product.reservNthPPPerc == 0)>
${uiLabelMap.ProductMaximum} ${product.reservMaxPersons!1} ${uiLabelMap.ProductPersons}.
#if>
#if>
<#if price.listPrice?? && price.price?? && price.price < price.listPrice>
<#assign priceSaved = price.listPrice - price.price />
<#assign percentSaved = (priceSaved / price.listPrice) * 100 />
${uiLabelMap.OrderSave}:
<@ofbizCurrency amount=priceSaved isoCode=price.currencyUsed />
(${percentSaved?int}%)
#if>
<#-- show price details ("showPriceDetails" field can be set in the screen definition) -->
<#if (showPriceDetails?? && showPriceDetails?default("N") == "Y")>
<#if price.orderItemPriceInfos??>
<#list price.orderItemPriceInfos as orderItemPriceInfo>
${orderItemPriceInfo.description!}
#list>
#if>
#if>
<#-- Included quantities/pieces -->
<#if product.piecesIncluded?? && product.piecesIncluded?long != 0>
${uiLabelMap.OrderPieces}: ${product.piecesIncluded}
#if>
<#if (product.quantityIncluded?? && product.quantityIncluded != 0) || product.quantityUomId?has_content>
<#assign quantityUom = product.getRelatedOne("QuantityUom", true)! />
${uiLabelMap.CommonQuantity} :
${product.quantityIncluded!} ${((quantityUom.abbreviation)?default(product.quantityUomId))!}
#if>
<#if (product.productWeight?? && product.productWeight != 0) || product.weightUomId?has_content>
<#assign weightUom = product.getRelatedOne("WeightUom", true)! />
${uiLabelMap.CommonWeight}:
${product.productWeight!} ${((weightUom.abbreviation)?default(product.weightUomId))!}
#if>
<#if (product.productHeight?? && product.productHeight != 0) || product.heightUomId?has_content>
<#assign heightUom = product.getRelatedOne("HeightUom", true)! />
${uiLabelMap.CommonHeight}:
${product.productHeight!} ${((heightUom.abbreviation)?default(product.heightUomId))!}
#if>
<#if (product.productWidth?? && product.productWidth != 0) || product.widthUomId?has_content>
<#assign widthUom = product.getRelatedOne("WidthUom", true)! />
${uiLabelMap.CommonWidth}:
${product.productWidth!} ${((widthUom.abbreviation)?default(product.widthUomId))!}
#if>
<#if (product.productDepth?? && product.productDepth != 0) || product.depthUomId?has_content>
<#assign depthUom = product.getRelatedOne("DepthUom", true)! />
${uiLabelMap.CommonDepth}:
${product.productDepth!} ${((depthUom.abbreviation)?default(product.depthUomId))!}
#if>
<#if daysToShip??>
${uiLabelMap.ProductUsuallyShipsIn} ${daysToShip} ${uiLabelMap.CommonDays}!
#if>
<#-- show tell a friend details only in ecommerce application -->
<#if disFeatureList?? && 0 < disFeatureList.size()>
<#list disFeatureList as currentFeature>
<#assign disFeatureType = currentFeature.getRelatedOne("ProductFeatureType", true) />
<#if disFeatureType.description??>
${disFeatureType.get("description", locale)}
<#else>
${currentFeature.productFeatureTypeId}
#if>:
${currentFeature.description}
#list>
#if>