News:

Support the VirtueMart project and become a member

Main Menu

Display Manufacturer on browsepage

Started by groentjie, November 08, 2011, 11:07:38 AM

Previous topic - Next topic

groentjie

I Want to display the manufacturer logo on the brwosepage. Which code do I need?

MobiVM

Hello,

You need to add your code at below page:-

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

Best Regards,
Trivedi kartik.
Native mobile Apps for VirtueMart! Visit http://www.ivmstore.com

PRO

Mobi, he is talking about category page


views/category/tpl/default.php

erik.demartiis

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

lipes

VM V. online: J2.5.14 | VM 2.0.20a | SQL 5.1.70 | PHP 5.3.25

slmandle

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;

lipes

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> :/
VM V. online: J2.5.14 | VM 2.0.20a | SQL 5.1.70 | PHP 5.3.25