Manufacturer images
Posted: 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
OpenCart Community Forum - Discuss shopping cart and e-commerce solutions.
https://forum.opencart.com/
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>
Code: Select all
<img scr="<?php echo $manufacturer_img; ?>">
Code: Select all
$this->data['manufacturer_img'] = $