Post by obiw » Thu May 14, 2009 4:52 am

Does anyone know how to get a images from the manufacturer? I like to place the manufacturer logo on the product page instead of just the text

New member

Posts

Joined
Fri Apr 17, 2009 4:59 am

Post by MikoElSuperbeasto » Fri May 15, 2009 6:27 am

I used this way to get the manufacturer images and listing on my homepage :

Code: Select all

<h1>Choose your brand :</h1><ul style="margin: 0; padding: 0;">
<?php  foreach ($manufacturers as $manufacturer) { ?>
<li><a href="<?php echo $manufacturer['href']; ?>" title="<?php echo $manufacturer['name']; ?>"><img src="<?php echo $manufacturer['image']; ?>" alt="<?php echo $manufacturer['name']; ?>" style="
width: 55px; height: 55px;" /></a></li>
 <?php  } ?>
</ul>


Posts

Joined
Fri May 08, 2009 9:42 pm

Post by obiw » Sat May 16, 2009 11:21 pm

thnx for the reply.

I tried some thinks based on your code... But i don't get it to work. I'm not a programmer so maybe you can help me out?

What i tried was something like:
@ catalog/view/theme/themeName/template/product/product.tpl

Code: Select all

<img scr="<?php echo $manufacturer_img; ?>">
@ catalog/controller/product/product.php

Code: Select all

$this->data['manufacturer_img'] = $
 
then it stops for me... I think there should be something like getManufacturerImages in front of that!?

New member

Posts

Joined
Fri Apr 17, 2009 4:59 am
Who is online

Users browsing this forum: No registered users and 14 guests