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>
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
@ catalog/controller/product/product.php
then it stops for me... I think there should be something like getManufacturerImages in front of that!?
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; ?>">
Code: Select all
$this->data['manufacturer_img'] = $
Who is online
Users browsing this forum: No registered users and 14 guests