I'm using Joomla! 2.5.6 + Virtuemart 2.0.6 and in the standard featured product module I want to display the manufacturers name. Anyone got any ideas???
Figured this out myself in the end! If anyone looking to do the same just add following code to this page modules > mod_virtuemart_products>tmpl>default.php :
<?php echo $product->mf_name; ?>
I also managed to add the products category to display as well using:
<?php echo $product->category_name; ?>
Cheers
Martin
Thank you notanothernumber
I was trying to get this figured out. I added to it slightly by creating a link to the manufacturer's page. This is what I did:
$linkm = JRoute::_('index.php?option=com_virtuemart&view=manufacturer&virtuemart_manufacturer_id='.$product->virtuemart_manufacturer_id);
?>
<strong>Artist: <a href="<? echo $linkm; ?>" title="<?php echo $product->mf_name; ?> Information Page"> <?php echo $product->mf_name; ?></a></strong>
</div>
I hope that this helps someone else.
Thank you so much!