#if($advancedsearch)
#set($hits = $advancedsearch)
$context.putPageValue("hits",$hits)
#end
| Product |
Listed Size |
Units/Case |
Weight (kilos) |
Unit |
Sell Price |
Rev.Price |
Rev.Price Date |
Special |
Sp.Start |
Sp.End |
Tax |
Split |
Milk Type |
Country |
Producer |
#if($print == true)
#foreach($product in $hits)
#set($pricestr = "")
#if($product.price)
#set($price = $product.price)
#set($idx = $price.indexOf("."))
#if($idx == -1)
#set($pricestr = "$${price}.00")
#else
#set($len = $price.length())
#set($diff = $len - $idx)
#if ($diff == 2)
#set($pricestr = "$${price}0")
#else
#set($pricestr = "$${price}")
#end
#end
#end
#set($pricestr2 = "")
#if($product.futureprice)
#set($price2 = $product.futureprice)
#set($idx = $price2.indexOf("."))
#if($idx == -1)
#set($pricestr2 = "$${price2}.00")
#else
#set($len = $price2.length())
#set($diff = $len - $idx)
#if ($diff == 2)
#set($pricestr2 = "$${price2}0")
#else
#set($pricestr2 = "$${price2}")
#end
#end
#end
#set($pricestr3 = "")
#if($product.xmasprice)
#set($price3 = $product.xmasprice)
#set($idx = $price3.indexOf("."))
#if($idx == -1)
#set($pricestr3 = "$${price3}.00")
#else
#set($len = $price3.length())
#set($diff = $len - $idx)
#if ($diff == 2)
#set($pricestr3 = "$${price3}0")
#else
#set($pricestr3 = "$${price3}")
#end
#end
#end
| $product |
$!product.listedsize |
$!product.unitspercase |
$!product.weight |
$!product.unit |
$!pricestr |
$!pricestr2 |
$!context.getDate($product.futurepricestart) |
$!pricestr3 |
$!context.getDate($product.xmaspricestart) |
$!context.getDate($product.xmaspricestop) |
#if($product.istaxed) #if($product.istaxed == "true") Yes #else No #end #end |
#if($product.split) #if($product.split == "true") Yes #else No #end #end |
#if($product.typeofmilk)$mediaarchive.getData("typeofmilk",$product.typeofmilk)#else N/A #end |
$!product.country |
$!product.producer |
#end
#else
#foreach($product in $hits.getPageOfHits())
#set($pricestr = "")
#if($product.price)
#set($price = $product.price)
#set($idx = $price.indexOf("."))
#if($idx == -1)
#set($pricestr = "$${price}.00")
#else
#set($len = $price.length())
#set($diff = $len - $idx)
#if ($diff == 2)
#set($pricestr = "$${price}0")
#else
#set($pricestr = "$${price}")
#end
#end
#end
#set($pricestr2 = "")
#if($product.futureprice)
#set($price2 = $product.futureprice)
#set($idx = $price2.indexOf("."))
#if($idx == -1)
#set($pricestr2 = "$${price2}.00")
#else
#set($len = $price2.length())
#set($diff = $len - $idx)
#if ($diff == 2)
#set($pricestr2 = "$${price2}0")
#else
#set($pricestr2 = "$${price2}")
#end
#end
#end
#set($pricestr3 = "")
#if($product.xmasprice)
#set($price3 = $product.xmasprice)
#set($idx = $price3.indexOf("."))
#if($idx == -1)
#set($pricestr3 = "$${price3}.00")
#else
#set($len = $price3.length())
#set($diff = $len - $idx)
#if ($diff == 2)
#set($pricestr3 = "$${price3}0")
#else
#set($pricestr3 = "$${price3}")
#end
#end
#end
| $product |
$!product.listedsize |
$!product.unitspercase |
$!product.weight |
$!product.unit |
$!pricestr |
$!pricestr2 |
$!context.getDate($product.futurepricestart) |
$!pricestr3 |
$!context.getDate($product.xmaspricestart) |
$!context.getDate($product.xmaspricestop) |
#if($product.istaxed) #if($product.istaxed == "true") Yes #else No #end #end |
#if($product.split) #if($product.split == "true") Yes #else No #end #end |
#if($product.typeofmilk)$mediaarchive.getData("typeofmilk",$product.typeofmilk)#else N/A #end |
$!product.country |
$!product.producer |
#end
#end
#if($print == true)
#else
$context.putPageValue("targetdiv","search-results-pages")
$context.putPageValue("resultsPage","/${applicationid}/customers/products/detailstablepages.html?oemaxlevel=1&")
$pages.include("/${applicationid}/customers/products/pages.html",$context)
#end