VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: groentjie on November 08, 2011, 11:07:38 AM

Title: Display Manufacturer on browsepage
Post by: groentjie on November 08, 2011, 11:07:38 AM
I Want to display the manufacturer logo on the brwosepage. Which code do I need?
Title: Re: Display Manufacturer on browsepage
Post by: MobiVM on November 08, 2011, 13:06:26 PM
Hello,

You need to add your code at below page:-

components/com_virtuemart/views/productdetails/tmpl/default.php

Best Regards,
Trivedi kartik.
Title: Re: Display Manufacturer on browsepage
Post by: PRO on November 09, 2011, 17:40:02 PM
Mobi, he is talking about category page


views/category/tpl/default.php
Title: Re: Display Manufacturer on browsepage
Post by: erik.demartiis on January 18, 2012, 15:49:13 PM
Quote from: BanquetTables.pro on November 09, 2011, 17:40:02 PM
Mobi, he is talking about category page
views/category/tpl/default.php

Hi!
I want to display the Manufacturar name, after the Product Name (or in other place of the page) in the category page.
Can you tell me what is the part of code to add please?

Thank you
Erik
Title: Re: Display Manufacturer on browsepage
Post by: lipes on April 02, 2012, 20:23:16 PM
please visit this http://forum.virtuemart.net/index.php?topic=95818.msg332807#msg332807
Title: Re: Display Manufacturer on browsepage
Post by: slmandle on April 02, 2012, 20:29:10 PM
if you do

print_r($this->product);

on your page it will show you what you can call about your product

you want to use "mf_name"

echo $this->product->mf_name;
Title: Re: Display Manufacturer on browsepage
Post by: lipes on April 02, 2012, 23:11:37 PM
slmandle: many thanks! I didnt know this command: <?php echo print_r($this->product); ?>

Unfortunately I just not found a function to call the manufacturerImage
+/- like... <a title="<?php echo $manufacturer->mf_name; ?>" href="<?php echo $manufacturerURL; ?>"><?php echo $manufacturerImage;?></a> :/