<#-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <#-- Header row, contains product small image, product name, price --> <#list compareList as product> <#assign tdWidth = 100/compareList?size /> <#assign productData = productDataMap[product.productId]/> <#assign productContentWrapper = productData.productContentWrapper/> <#assign price = productData.priceMap/> <#assign productUrl><@ofbizCatalogAltUrl productId=product.productId/> <#assign smallImageUrl = productContentWrapper.get("SMALL_IMAGE_URL", "url")/> <#if smallImageUrl!?length == 0> <#assign smallImageUrl = "/images/defaultImage.jpg"/> <#-- Brand name --> <#list compareList as product> <#-- Description --> <#list compareList as product> <#assign productData = productDataMap[product.productId]/> <#assign productContentWrapper = productData.productContentWrapper/> <#-- Long Description --> <#list compareList as product> <#assign productData = productDataMap[product.productId]/> <#assign productContentWrapper = productData.productContentWrapper/> <#list productFeatureTypeIds as productFeatureTypeId> <#assign productFeatureType = productFeatureTypeMap[productFeatureTypeId]/> <#list compareList as product> <#assign productData = productDataMap[product.productId]/> <#assign applMap = productData[productFeatureTypeId]!/> <#list compareList as product>
  Small Image
${productContentWrapper.get("PRODUCT_NAME", "html")}
<#if totalPrice??>
${uiLabelMap.ProductAggregatedPrice}: <@ofbizCurrency amount=totalPrice isoCode=totalPrice.currencyUsed/>
<#else> <#if price.isSale?? && price.isSale> <#assign priceStyle = "salePrice"> <#else> <#assign priceStyle = "regularPrice"> <#if (price.price?default(0) > 0 && product.requireAmount?default("N") == "N")> <#if "Y" = product.isVirtual!> ${uiLabelMap.CommonFrom} <@ofbizCurrency amount=price.price isoCode=price.currencyUsed/>
<#-- 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}... <#elseif product.productTypeId! == "ASSET_USAGE_OUT_IN"/> ${uiLabelMap.OrderRent}... <#-- 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}... <#else>
additem" name="compareFormAdd${product_index}">
${uiLabelMap.OrderAddToCart} <#if prodCatMem?? && prodCatMem.quantity?? && 0.00 < prodCatMem.quantity?double>
additem" name="compareFormAddDefault${product_index}" style="margin: 0;">
${uiLabelMap.CommonAddDefault}(${prodCatMem.quantity?string.number}) ${uiLabelMap.OrderToCart}
${uiLabelMap.ProductBrandName}${product.brandName?default(" ")}
${uiLabelMap.ProductProductDescription}${productContentWrapper.get("DESCRIPTION", "html")?default(" ")}
${uiLabelMap.ProductLongDescription}${productContentWrapper.get("LONG_DESCRIPTION", "html")?default(" ")}
${productFeatureType.get("description", locale)} <#if applMap.STANDARD_FEATURE?has_content> <#assign features = applMap.STANDARD_FEATURE/> <#list features as feature>
${feature.get("description", locale)}
<#if applMap.DISTINGUISHING_FEAT?has_content> <#assign features = applMap.DISTINGUISHING_FEAT/> <#list features as feature>
${feature.get("description", locale)}
<#if applMap.SELECTABLE_FEATURE?has_content> <#assign features = applMap.SELECTABLE_FEATURE/>
Available Options:
    <#list features as feature>
  • ${feature.get("description", locale)}
 
<#-- 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}... <#elseif product.productTypeId! == "ASSET_USAGE_OUT_IN"/> ${uiLabelMap.OrderRent}... <#-- 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}... <#else>
additem" name="compare2FormAdd${product_index}">
${uiLabelMap.OrderAddToCart} <#if prodCatMem?? && prodCatMem.quantity?? && 0.00 < prodCatMem.quantity?double> ${uiLabelMap.CommonAddDefault}(${prodCatMem.quantity?string.number}) ${uiLabelMap.OrderToCart}