1) { $float = "floatleft"; } else { $float = "center"; } ?>
images[0])) { $image = $product->images[0]->displayMediaThumb ('class="featuredProductImage"', FALSE); } else { $image = ''; } $url = JRoute::_ ('index.php?option=com_virtuemart&view=productdetails&virtuemart_category_id=' .$product->virtuemart_category_id .'&virtuemart_product_id=' . $product->virtuemart_product_id ); echo JHTML::_ ('link', $url, $image, array('title' => $product->product_name)); echo '
'; ?> product_name ?>
'; echo '
'; if ($show_price) { echo '
'; // echo $currency->priceDisplay($product->prices['salesPrice']); if (!empty($product->prices['salesPrice'])) { echo $currency->createPriceDiv ('salesPrice', '', $product->prices, FALSE, FALSE, 1.0, TRUE); } // if ($product->prices['salesPriceWithDiscount']>0) echo $currency->priceDisplay($product->prices['salesPriceWithDiscount']); if (!empty($product->prices['salesPriceWithDiscount'])) { echo $currency->createPriceDiv ('salesPriceWithDiscount', '', $product->prices, FALSE, FALSE, 1.0, TRUE); } echo '
'; } if ($show_addtocart) { echo shopFunctionsF::renderVmSubLayout('addtocart',array('product'=>$product)); } echo '
'; ?>
"; $col = 1; } else { $col++; } } ?>

'; echo '
'; // $product->prices is not set when show_prices in config is unchecked if ($show_price and isset($product->prices)) { echo '
'.$currency->createPriceDiv ('salesPrice', '', $product->prices, FALSE, FALSE, 1.0, TRUE); if ($product->prices['salesPriceWithDiscount'] > 0) { echo $currency->createPriceDiv ('salesPriceWithDiscount', '', $product->prices, FALSE, FALSE, 1.0, TRUE); } echo '
'; } if ($show_addtocart) { echo shopFunctionsF::renderVmSubLayout('addtocart',array('product'=>$product,'position' => array('ontop', 'addtocart'))); } echo '
'; ?>