News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Manufacturer link on category page

Started by roman5527, September 27, 2015, 16:26:18 PM

Previous topic - Next topic

roman5527

Hi, how i can add link on manufacturer on category page ?

i have VM 3.0.10 and joomla 3.4.4

thnaks

Studio 42

Hi roman,
In each product display manufacturer info.
name :
<?php echo $product->mf_name ?>
link with name :
<?php 
 $mfLink 
JRoute::_('index.php?option=com_virtuemart&view=manufacturer&virtuemart_manufacturer_id=' $product->virtuemart_manufacturer_id);
echo 
'<a href="'.$mfLink .'">'.$product->mf_name.'</a>';
?>