product->virtuemart_product_id . '&virtuemart_category_id=' . $this->product->virtuemart_category_id . '&tmpl=component'); $document = JFactory::getDocument(); $document->addScriptDeclaration(" jQuery(document).ready(function($) { $('a.ask-a-question').click( function(){ $.facebox({ iframe: '" . $url . "', rev: 'iframe|550|550' }); return false ; }); /* $('.additional-images a').mouseover(function() { var himg = this.href ; var extension=himg.substring(himg.lastIndexOf('.')+1); if (extension =='png' || extension =='jpg' || extension =='gif') { $('.main-image img').attr('src',himg ); } console.log(extension) });*/ }); "); /* Let's see if we found the product */ if (empty($this->product)) { echo JText::_('COM_VIRTUEMART_PRODUCT_NOT_FOUND'); echo '

' . $this->continue_link_html; return; } ?>
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); echo JHTML::_('link', $prev_link, $this->product->neighbours ['previous'][0] ['product_name'], array('class' => 'previous-page')); } 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); echo JHTML::_('link', $next_link, $this->product->neighbours ['next'][0] ['product_name'], array('class' => 'next-page')); } ?>
product->virtuemart_category_id) { $catURL = JRoute::_('index.php?option=com_virtuemart&view=category&virtuemart_category_id='.$this->product->virtuemart_category_id); $categoryName = $this->product->category_name ; } else { $catURL = JRoute::_('index.php?option=com_virtuemart'); $categoryName = jtext::_('COM_VIRTUEMART_SHOP_HOME') ; } ?>

product->product_name ?>

product->event->afterDisplayTitle ?> edit_link; // Product Edit Link END ?>
product->virtuemart_product_id; $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'; if (VmConfig::get('pdf_icon', 1) == '1') { echo $this->linkIcon($link . '&format=pdf', 'COM_VIRTUEMART_PDF', 'pdf_button', 'pdf_button_enable', false); } echo $this->linkIcon($link . '&print=1', 'COM_VIRTUEMART_PRINT', 'printButton', 'show_printicon'); echo $this->linkIcon($MailLink, 'COM_VIRTUEMART_EMAIL', 'emailButton', 'show_emailfriend'); ?>
product->product_s_desc)) { ?>
product->product_s_desc); ?>
product->customfieldsSorted['ontop'])) { $this->position = 'ontop'; echo $this->loadTemplate('customfields'); } // Product Custom ontop end ?>
loadTemplate('images'); ?>
product->virtuemart_vendor_id); $text = JText::_('COM_VIRTUEMART_VENDOR_FORM_INFO_LBL'); echo ''. JText::_('COM_VIRTUEMART_PRODUCT_DETAILS_VENDOR_LBL'). ''; ?>
*/ ?> showRating) { $maxrating = VmConfig::get('vm_maximum_rating_scale', 5); if (empty($this->rating)) { ?> rating->rating * 24; //I don't use round as percetntage with works perfect, as for me ?> rating->rating) . '/' . $maxrating; ?>
rating->rating) . '/' . $maxrating) ?>" class="ratingbox" style="display:inline-block;">
productDisplayShipments)) { foreach ($this->productDisplayShipments as $productDisplayShipment) { echo $productDisplayShipment . '
'; } } if (is_array($this->productDisplayPayments)) { foreach ($this->productDisplayPayments as $productDisplayPayment) { echo $productDisplayPayment . '
'; } } // Product Price if ($this->show_prices and (empty($this->product->images[0]) or $this->product->images[0]->file_is_downloadable == 0)) { echo $this->loadTemplate('showprices'); } ?> id) // denis fin de la modif !! // if (!empty($this->product->prices) and !empty($this->product->images[0]) and $this->product->images[0]->file_is_downloadable==0 ) { if (!VmConfig::get('use_as_catalog', 0) and !empty($this->product->prices)) { echo $this->loadTemplate('addtocart'); } // ci dessous la modif pour le message de connexion !! if ($user->id){print "";} else { print ""; echo JText::_('COM_VIRTUEMART_CART_HIDE_FOR_ANONYMOUS'); } // fin de la modif !! // Add To Cart Button END ?> product->product_in_stock - $this->product->product_ordered) < 1) { if ($stockhandle == 'risetime' and VmConfig::get('rised_availability') and empty($this->product->product_availability)) { ?>
'availability')) : VmConfig::get('rised_availability'); ?>
product->product_availability)) { ?>
product->product_availability)) ? JHTML::image(JURI::root() . VmConfig::get('assets_general_path') . 'images/availability/' . $this->product->product_availability, $this->product->product_availability, array('class' => 'availability')) : $this->product->product_availability; ?>
product->virtuemart_manufacturer_id)) { echo $this->loadTemplate('manufacturer'); } ?>
product->event->beforeDisplayContent; ?> product->product_desc)) { ?>
product->product_desc; ?>
product->product_in_stock - $this->product->product_ordered) > 200000) { ?>
product->customfieldsSorted['normal'])) { $this->position = 'normal'; echo $this->loadTemplate('customfields'); } // Product custom_fields END // Product Packaging $product_packaging = ''; if ($this->product->packaging || $this->product->box) { ?>
product->packaging) { $product_packaging .= JText::_('COM_VIRTUEMART_PRODUCT_PACKAGING1') . $this->product->packaging; if ($this->product->box) $product_packaging .= '
'; } if ($this->product->box) $product_packaging .= JText::_('COM_VIRTUEMART_PRODUCT_PACKAGING2') . $this->product->box; echo str_replace("{unit}", $this->product->product_unit ? $this->product->product_unit : JText::_('COM_VIRTUEMART_PRODUCT_FORM_UNIT_DEFAULT'), $product_packaging); ?>
product->images as $fkey => $file) { // Todo add downloadable files again // if( $file->filesize > 0.5) $filesize_display = ' ('. number_format($file->filesize, 2,',','.')." MB)"; // else $filesize_display = ' ('. number_format($file->filesize*1024, 2,',','.')." KB)"; /* Show pdf in a new Window, other file types will be offered as download */ // $target = stristr($file->file_mimetype, "pdf") ? "_blank" : "_self"; // $link = JRoute::_('index.php?view=productdetails&task=getfile&virtuemart_media_id='.$file->virtuemart_media_id.'&virtuemart_product_id='.$this->product->virtuemart_product_id); // echo JHTMl::_('link', $link, $file->file_title.$filesize_display, array('target' => $target)); // } if (!empty($this->product->customfieldsRelatedProducts)) { echo $this->loadTemplate('relatedproducts'); } // Product customfieldsRelatedProducts END if (!empty($this->product->customfieldsRelatedCategories)) { echo $this->loadTemplate('relatedcategories'); } // Product customfieldsRelatedCategories END // Show child categories if (VmConfig::get('showCategory', 1)) { echo $this->loadTemplate('showcategory'); } if (!empty($this->product->customfieldsSorted['onbot'])) { $this->position='onbot'; echo $this->loadTemplate('customfields'); } // Product Custom ontop end ?> product->event->afterDisplayContent; ?> loadTemplate('reviews'); ?>