product)) { echo vmText::_('COM_VIRTUEMART_PRODUCT_NOT_FOUND'); echo '

' . $this->continue_link_html; return; } $appWeb = new JApplicationWeb; echo shopFunctionsF::renderVmSubLayout('askrecomjs',array('product'=>$this->product)); JFactory::getDocument()->addStyleSheet("templates/".$template."/css/easyzoom.css"); vmJsApi::addJScript("/templates/".$template."/js/easyzoom.js",false,false); vmJsApi::addJScript("/templates/".$template."/js/jssor.slider.mini.js",false,false); vmJsApi::addJScript("/templates/".$template."/js/jquery.validate.min.js",false,false); vmJsApi::addJScript("/templates/".$template."/js/additional-methods.min.js",false,false); if(vRequest::getInt('print',false)){ ?>
product->neighbours ['previous'][0])) { $prev_link = JRoute::_('index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=' . $this->product->neighbours ['previous'][0] ['virtuemart_product_id'] . '&virtuemart_category_id=' . $this->product->virtuemart_category_id, FALSE); echo JHtml::_('link', $prev_link, $this->product->neighbours ['previous'][0] ['product_name'], array('rel'=>'prev', 'class' => 'previous-page','data-dynamic-update' => '1')); } if (!empty($this->product->neighbours ['next'][0])) { $next_link = JRoute::_('index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=' . $this->product->neighbours ['next'][0] ['virtuemart_product_id'] . '&virtuemart_category_id=' . $this->product->virtuemart_category_id, FALSE); echo JHtml::_('link', $next_link, $this->product->neighbours ['next'][0] ['product_name'], array('rel'=>'next','class' => 'next-page','data-dynamic-update' => '1')); } ?>
product->virtuemart_category_id) { $catURL = JRoute::_('index.php?option=com_virtuemart&view=category&virtuemart_category_id='.$this->product->virtuemart_category_id, FALSE); $categoryName = $this->product->category_name ; } else { $catURL = JRoute::_('index.php?option=com_virtuemart'); $categoryName = vmText::_('COM_VIRTUEMART_SHOP_HOME') ; } ?> edit_link; // Product Edit Link END ?>
product->virtuemart_product_id; echo $this->linkIcon($link . '&format=pdf', 'COM_VIRTUEMART_PDF', 'pdf_button', 'pdf_icon', false); //echo $this->linkIcon($link . '&print=1', 'COM_VIRTUEMART_PRINT', 'printButton', 'show_printicon'); echo $this->linkIcon($link . '&print=1', 'COM_VIRTUEMART_PRINT', 'printButton', 'show_printicon',false,true,false,'class="printModal"'); ?>
$this->product,'position'=>'ontop')); ?>
loadTemplate('images_additional'); ?>
product->event->afterDisplayTitle ?>
'.$this->product->product_sku; ?>
$this->product)); ?>

product->product_name ?>

product->virtuemart_vendor_id); $text = vmText::_('COM_VIRTUEMART_VENDOR_FORM_INFO_LBL'); echo ''. vmText::_('COM_VIRTUEMART_PRODUCT_DETAILS_VENDOR_LBL'). ''; ?>
*/ ?> productDisplayShipments)) { foreach ($this->productDisplayShipments as $productDisplayShipment) { echo $productDisplayShipment . '
'; } }*/ if (is_array($this->productDisplayPayments)) { foreach ($this->productDisplayPayments as $productDisplayPayment) { echo $productDisplayPayment . '
'; } } //In case you are not happy using everywhere the same price display fromat, just create your own layout //in override /html/fields and use as first parameter the name of your file ?>
$this->product,'currency'=>$this->currency)); echo shopFunctionsF::renderVmSubLayout('rating',array('showRating'=>$this->showRating,'product'=>$this->product)); ?>
$this->product)); echo shopFunctionsF::renderVmSubLayout('addtocart',array('product'=>$this->product)); ?> product->virtuemart_manufacturer_id)) { echo $this->loadTemplate('manufacturer'); } if (VmConfig::get('show_emailfriend')) { ?>
product->virtuemart_product_id . '&virtuemart_category_id=' . $this->product->virtuemart_category_id . '&tmpl=component', FALSE); ?> product->event->beforeDisplayContent; // onContentAfterDisplay event echo $this->product->event->afterDisplayContent; ?>
product->product_s_desc) || !empty($this->product->product_desc)) { ?>
product->product_s_desc)) { ?>
product->product_s_desc); ?>
product->product_desc)) { ?>
product->product_desc; ?>
$this->product,'position'=>'additional')) || $this->product->product_length || $this->product->product_width || $this->product->product_height || $this->product->product_weight || $this->product->product_packaging || $this->product->product_box) { ?>
$this->product,'position'=>'additional')); if($this->product->product_length) echo '
'.vmText::_('COM_VIRTUEMART_PRODUCT_LENGTH').': '.$this->product->product_length.' '.strtolower($this->product->product_lwh_uom).'
'; if($this->product->product_width) echo '
'.vmText::_('COM_VIRTUEMART_PRODUCT_WIDTH').': '.$this->product->product_width.' '.strtolower($this->product->product_lwh_uom).'
'; if($this->product->product_height) echo '
'.vmText::_('COM_VIRTUEMART_PRODUCT_HEIGHT').': '.$this->product->product_height.' '.strtolower($this->product->product_lwh_uom).'
'; if($this->product->product_weight) echo '
'.vmText::_('COM_VIRTUEMART_PRODUCT_WEIGHT').': '.$this->product->product_weight. ' ' .strtolower($this->product->product_weight_uom).'
'; if($this->product->product_packaging) echo '
'.vmText::_('COM_VIRTUEMART_PRODUCT_PACKAGING').': '.$this->product->product_packaging.' '.strtolower($this->product->product_unit).'
'; if($this->product->product_box) echo '
'.vmText::_('COM_VIRTUEMART_PRODUCT_UNITS_IN_BOX').$this->product->product_box.'
'; ?>
showReview) { ?>
loadTemplate('reviews'); ?>
$this->product,'position'=>'video'))) { ?>
$this->product,'position'=>'video')); ?>
product->event->afterDisplayContent; $comments = JPATH_ROOT . '/components/com_jcomments/jcomments.php'; if (file_exists($comments)) { require_once($comments); echo JComments::showComments($this->product->virtuemart_product_id, 'com_virtuemart', $this->product->product_name); } ?>
$this->product,'position'=>'normal')); echo shopFunctionsF::renderVmSubLayout('customfields',array('product'=>$this->product,'position'=>'onbot')); echo shopFunctionsF::renderVmSubLayout('customfields',array('product'=>$this->product,'position'=>'related_products','class'=> 'product-related-products','customTitle' => true )); echo shopFunctionsF::renderVmSubLayout('customfields',array('product'=>$this->product,'position'=>'related_categories','class'=> 'product-related-categories')); // Show child categories if (VmConfig::get('showCategory', 1)) { //echo $this->loadTemplate('showcategory'); } $j = 'jQuery(document).ready(function($) { Virtuemart.product(jQuery("form.product")); $("form.js-recalculate").each(function(){ if ($(this).find(".product-fields").length && !$(this).find(".no-vm-bind").length) { var id= $(this).find(\'input[name="virtuemart_product_id[]"]\').val(); Virtuemart.setproducttype($(this),id); } }); });'; //vmJsApi::addJScript('recalcReady',$j); /** GALT * Notice for Template Developers! * Templates must set a Virtuemart.container variable as it takes part in * dynamic content update. * This variable points to a topmost element that holds other content. */ $j = "Virtuemart.container = jQuery('.productdetails-view'); Virtuemart.containerSelector = '.productdetails-view';"; vmJsApi::addJScript('ajaxContent',$j); echo vmJsApi::writeJS(); ?>