<#-- check to see if introductionDate hasn't passed yet -->
<#if product.introductionDate?? && nowTimestamp.before(product.introductionDate)>
${uiLabelMap.ProductNotYetAvailable}
<#-- check to see if salesDiscontinuationDate has passed -->
<#elseif product.salesDiscontinuationDate?? && nowTimestamp.after(product.salesDiscontinuationDate)>
${uiLabelMap.ProductNoLongerAvailable}
<#-- check to see if it is a rental item; will enter parameters on the detail screen-->
<#elseif product.productTypeId! == "ASSET_USAGE">
${uiLabelMap.OrderMakeBooking}...
<#-- check to see if it is an aggregated or configurable product; will enter parameters on the detail screen-->
<#elseif product.productTypeId! == "AGGREGATED" || product.productTypeId! == "AGGREGATED_SERVICE">
${uiLabelMap.OrderConfigure}...
<#-- check to see if the product is a virtual product -->
<#elseif product.isVirtual?? && product.isVirtual == "Y">
${uiLabelMap.OrderChooseVariations}...
<#-- check to see if the product requires an amount -->
<#elseif product.requireAmount?? && product.requireAmount == "Y">
${uiLabelMap.OrderChooseAmount}...
<#elseif product.productTypeId! == "ASSET_USAGE_OUT_IN">
${uiLabelMap.OrderRent}...
<#else>
<#if prodCatMem?? && prodCatMem.quantity?? && 0.00 < prodCatMem.quantity?double>
<#assign productCategory = delegator.findOne("ProductCategory", Static["org.apache.ofbiz.base.util.UtilMisc"].toMap("productCategoryId", prodCatMem.productCategoryId), false)/>
<#if productCategory.productCategoryTypeId != "BEST_SELL_CATEGORY">
#if>
#if>
#if>
${productContentWrapper.get("DESCRIPTION", "html")!}<#if daysToShip??> - ${uiLabelMap.ProductUsuallyShipsIn} ${daysToShip} ${uiLabelMap.CommonDays}!#if>
<#-- Display category-specific product comments -->
<#if prodCatMem?? && prodCatMem.comments?has_content>
${prodCatMem.comments}
#if>
<#-- example of showing a certain type of feature with the product -->
<#if sizeProductFeatureAndAppls?has_content>
<#if (sizeProductFeatureAndAppls?size == 1)>
${uiLabelMap.SizeAvailableSingle}:
<#else>
${uiLabelMap.SizeAvailableMultiple}:
#if>
<#list sizeProductFeatureAndAppls as sizeProductFeatureAndAppl>
${sizeProductFeatureAndAppl.abbrev?default(sizeProductFeatureAndAppl.description?default(sizeProductFeatureAndAppl.productFeatureId))}<#if sizeProductFeatureAndAppl_has_next>,#if>
#list>
#if>
${product.productId!}
<#if totalPrice??>
${uiLabelMap.ProductAggregatedPrice}: <@ofbizCurrency amount=totalPrice isoCode=totalPrice.currencyUsed/>
<#else>
<#if price.competitivePrice?? && price.price?? && price.price?double < price.competitivePrice?double>
${uiLabelMap.ProductCompareAtPrice}:
<@ofbizCurrency amount=price.competitivePrice isoCode=price.currencyUsed/>
#if>
<#if price.listPrice?? && price.price?? && price.price?double < price.listPrice?double>
${uiLabelMap.ProductListPrice}:
<@ofbizCurrency amount=price.listPrice isoCode=price.currencyUsed/>
#if>
<#if price.isSale?? && price.isSale>
${uiLabelMap.OrderOnSale}!
<#assign priceStyle = "salePrice">
<#else>
<#assign priceStyle = "regularPrice">
#if>
<#if (price.price?default(0) > 0 && product.requireAmount?default("N") == "N")>
${uiLabelMap.OrderYourPrice}: <#if "Y" = product.isVirtual!> ${uiLabelMap.CommonFrom} #if><@ofbizCurrency amount=price.price isoCode=price.currencyUsed/>
#if>
<#if price.listPrice?? && price.price?? && price.price?double < price.listPrice?double>
<#assign priceSaved = price.listPrice?double - price.price?double>
<#assign percentSaved = (priceSaved?double / price.listPrice?double) * 100>
${uiLabelMap.OrderSave}:
<@ofbizCurrency amount=priceSaved isoCode=price.currencyUsed/> (${percentSaved?int}%)
#if>
#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>
<#if averageRating?? && (averageRating?double > 0) && numRatings?? && (numRatings?long > 2)>
${uiLabelMap.OrderAverageRating}: ${averageRating} (${uiLabelMap.CommonFrom} ${numRatings} ${uiLabelMap.OrderRatings})
#if>
${uiLabelMap.ProductAddToCompare}