%PDF- %PDF-
Direktori : /home/lightco1/luminero.com.au/components/com_virtuemart/sublayouts/ |
Current File : /home/lightco1/luminero.com.au/components/com_virtuemart/sublayouts/related.php |
<?php defined('_JEXEC') or die('Restricted access'); $related = $viewData['related']; $customfield = $viewData['customfield']; $thumb = $viewData['thumb']; //juri::root() For whatever reason, we used this here, maybe it was for the mails ?> <div class="product-container"> <div class="vm-product-media-container"><?php echo JHtml::link (JRoute::_ ('index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=' . $related->virtuemart_product_id . '&virtuemart_category_id=' . $related->virtuemart_category_id), $thumb . $related->product_name, array('title' => $related->product_name,'target'=>'_blank')); ?></div><?php if($customfield->wPrice){ ?> <div class="product-price" id="productPrice<?php echo $related->virtuemart_product_id ?>"> <?php $currency = calculationHelper::getInstance()->_currencyDisplay; echo shopFunctionsF::renderVmSubLayout('prices',array('product'=>$related,'currency'=>$currency)); //echo $currency->createPriceDiv ('salesPrice', 'COM_VIRTUEMART_PRODUCT_SALESPRICE', $related->prices); ?></div><div class="clear"></div><?php } if($customfield->waddtocart){ ?><div class="vm3pr-related" ><?php echo shopFunctionsF::renderVmSubLayout('addtocart',array('product'=>$related, 'position' => array('ontop', 'addtocart'))); ?></div><?php } if($customfield->wDescr){ echo '<p class="product_s_desc">'.$related->product_s_desc.'</p>'; } ?></div>