<?php // Product Title ?>
<div itemscope itemtype="
Для просмотра ссылки Войди или Зарегистрируйся"><span itemprop="name">
<h1><?php echo JText::_(' ') ?><?php echo $this->product->product_name ?></h1></span>
<?php // Product Title END ?>
<?php echo $this->product->event->beforeDisplayContent; ?>
<?php
#MicroformatsVotes BOM
if (JPluginHelper::importPlugin('content','microformatsvotes',true)) {
$seoparams = new JRegistry();
$seorow = new StdClass();
$currencyId = (int)JFactory::getApplication()->getUserStateFromRequest('virtuemart_currency_id', 'virtuemart_currency_id', $this->currency->_vendorCurrency);
$db =& JFactory::getDBO();
$db->setQuery("SELECT currency_code_3 FROM `#__virtuemart_currencies` WHERE `virtuemart_currency_id`=$currencyId");
$currencyCode = $db->loadResult();
$seorow->mfv_id = $this->product->virtuemart_product_id;
$seorow->mfv_title = $this->product->product_name;
if (!empty($this->product->prices['salesPrice']) && !empty($currencyCode)) {
$seorow->mfv_price = $this->product->prices['salesPrice'];
$seorow->mfv_currency = $currencyCode;
$seorow->mfv_sku = $this->product->product_sku;
$seorow->mfv_instock = (bool) $this->product->product_in_stock;
$seorow->mfv_image = empty($this->product->images[0]->file_url_thumb) ? FALSE : JURI::root(FALSE).$this->product->images[0]->file_url_thumb;
if (!empty($this->product->virtuemart_vendor_id)) {
$db->setQuery("SELECT vendor_store_name, vendor_url FROM `#__virtuemart_vendors` WHERE `virtuemart_vendor_id`=".$this->product->virtuemart_vendor_id);
$info = $db->loadObject();
if (!empty($info->vendor_store_name)) {
$seorow->mfv_vendor = $info->vendor_store_name;
$seorow->mfv_vendor_url = $info->vendor_url;
}
}
}
$seorow->product_s_desc = $this->product->product_s_desc;
$seorow->product_desc = $this->product->product_desc;
JDispatcher::getInstance()->trigger('onContentBeforeDisplay', array('_virtuemart.product', $seorow, $seoparams));
$this->product->product_desc = $seorow->product_desc;
$this->product->product_s_desc = $seorow->product_s_desc;
echo $seorow->plgmfvhtml;
}
#MicroformatsVotes EOM
?>