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

' . $this->continue_link_html; return; } echo shopFunctionsF::renderVmSubLayout('askrecomjs',array('product'=>$this->product)); //vmdebug('My product',$this->product->loadFieldValues()); 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 = vmText::_($this->product->category_name) ; } else { $catURL = JRoute::_('index.php?option=com_virtuemart'); $categoryName = vmText::_('COM_VIRTUEMART_SHOP_HOME') ; } ?>

product->product_name ?>

product->event->afterDisplayTitle ?> 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"'); $MailLink = 'index.php?option=com_virtuemart&view=productdetails&task=recommend&virtuemart_product_id=' . $this->product->virtuemart_product_id . '&virtuemart_category_id=' . $this->product->virtuemart_category_id . '&tmpl=component'; echo $this->linkIcon($MailLink, 'COM_VIRTUEMART_EMAIL', 'emailButton', 'show_emailfriend', false,true,false,'class="recommened-to-friend"'); ?>
product->product_s_desc)) { ?>
product->product_s_desc); ?>
$this->product,'position'=>'ontop')); ?>
loadTemplate('images'); ?>
product->virtuemart_vendor_id); $text = vmText::_('COM_VIRTUEMART_VENDOR_FORM_INFO_LBL'); echo ''. vmText::_('COM_VIRTUEMART_PRODUCT_DETAILS_VENDOR_LBL'). ''; ?>
*/ ?> $this->showRating, 'product' => $this->product)); foreach ($this->productDisplayTypes as $type=>$productDisplayType) { foreach ($productDisplayType as $productDisplay) { foreach ($productDisplay as $virtuemart_method_id =>$productDisplayHtml) { ?>
$this->product,'currency'=>$this->currency)); ?>
$this->product)); echo shopFunctionsF::renderVmSubLayout('stockhandle',array('product'=>$this->product)); // Ask a question about this product if (VmConfig::get('ask_question', 0) == 1) { $askquestion_url = JRoute::_('index.php?option=com_virtuemart&view=productdetails&task=askquestion&virtuemart_product_id=' . $this->product->virtuemart_product_id . '&virtuemart_category_id=' . $this->product->virtuemart_category_id . '&tmpl=component', FALSE); ?>
product->virtuemart_manufacturer_id)) { echo $this->loadTemplate('manufacturer'); } ?>
product->images); if ($count_images > 1) { echo $this->loadTemplate('images_additional'); } // event onContentBeforeDisplay echo $this->product->event->beforeDisplayContent; ?> product->product_in_stock - $this->product->product_ordered); // Product Description if (!empty($this->product->product_desc)) { ?>
product->product_desc; ?>
$this->product,'position'=>'normal')); // Product Packaging $product_packaging = ''; if ($this->product->product_box) { ?>
product->product_box; ?>
$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')); ?> product->event->afterDisplayContent; echo $this->loadTemplate('reviews'); // Show child categories if ($this->cat_productdetails) { echo $this->loadTemplate('showcategory'); } $j = 'jQuery(document).ready(function($) { $("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); if(VmConfig::get ('jdynupdate', TRUE)){ /** 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'; //Virtuemart.recalculate = true; //Activate this line to recalculate your product after ajax "; vmJsApi::addJScript('ajaxContent',$j);*/ $j = "jQuery(document).ready(function($) { Virtuemart.stopVmLoading(); var msg = ''; $('a[data-dynamic-update=\"1\"]').off('click', Virtuemart.startVmLoading).on('click', {msg:msg}, Virtuemart.startVmLoading); $('[data-dynamic-update=\"1\"]').off('change', Virtuemart.startVmLoading).on('change', {msg:msg}, Virtuemart.startVmLoading); });"; vmJsApi::addJScript('vmPreloader',$j); } if ($this->product->prices['salesPrice'] > 0) { echo shopFunctionsF::renderVmSubLayout('snippets',array('product'=>$this->product, 'currency'=>$this->currency, 'showRating'=>$this->showRating)); } echo vmJsApi::writeJS(); ?>