I read posts about how to put the manufacturer image on product page and but a single one have 100% instructions.
1.This solution put you the image but without link
http://forum.virtuemart.net/index.php?topic=95818.msg333248#msg333248
2.This also put the image without link.
Adding the code
<?
JRequest::setVar('virtuemart_manufacturer_id',$this->product->virtuemart_manufacturer_id,'GET');
$model = VmModel::getModel('manufacturer');
if ($this->product->virtuemart_manufacturer_id !=0 ) {
$manufacturer = $model->getManufacturer();
$model->addImages($manufacturer,1);
$this->manufacturerImage = $manufacturer->images[0]->displayMediaThumb('class="manufacturer-image"',false);
}
echo $this->manufacturerImage;
?>
How could i put the link $link = JRoute::_('index.php?option=com_virtuemart&view=manufacturer&virtuemart_manufacturer_id=' . $manufacturers_details->virtuemart_manufacturer_id. '&tmpl=component', FALSE);
so i can have a image with manufacturer link instead the name with link.
I try many variants but i am not a php developer so i made this post.