Hi all,
I completed the database on my site, but i would like to add the manufacturer name togheter to the price and the product_SKU.
Could you please help me.
Thanks in advance
Please explain more clearly what it is you wish to do. Maybe with an explanatory picture.
Thanks for the reply, i have attached the screen print of what we need.
Please help.
[attachment cleanup by admin]
Hello,
You are using a custom template so i am bot sure in which line you should place the code but i am sure you know where.
You have to edit the file your_joomla_folder/template/your_jooma_template/html/com_virtuemart/category/default.php
After echo' ing product sku place the following code with the style you need (that will place the manufacturer name + link to mafunacturer page)
<?php $link = JRoute::_('index.php?option=com_virtuemart&view=manufacturer&virtuemart_manufacturer_id=' . $product->virtuemart_manufacturer_id . '&tmpl=component');
$text = $product->mf_name; ?>
<span class="bold"><?php echo JText::_('COM_VIRTUEMART_PRODUCT_DETAILS_MANUFACTURER_LBL') ?></span><a class="modal" rel="{handler: 'iframe', size: {x: 700, y: 550}}" href="<?php echo $link ?>"><?php echo $text ?></a>
More information regarding category fields could be found here: http://forum.virtuemart.net/index.php?topic=97744.0
For product fields here: http://forum.virtuemart.net/index.php?topic=92756
and also check and this one: http://forum.virtuemart.net/index.php?topic=100696.0
Regards
Awesome !!! Solved it !