#** * Render a hit representing a Product * assumed to have a field called "name" *#
#field('name') #if($params.getBool('mlt', false) == false)More Like This#end
##do we have a physical store for this product #set($store = $doc.getFieldValue('store')) #if($store)
Larger Map
#end
Id: #field('id')
Price: #field('price_c')
Features: #field('features')
In Stock: #field('inStock')
#set($mlt = $mltResults.get($docId)) #set($mltOn = $params.getBool('mlt')) #if($mltOn == true)
Similar Items
#end #if ($mltOn && $mlt && $mlt.size() > 0) #elseif($mltOn && $mlt.size() == 0)
No Similar Items Found
#end
#parse('debug.vm')