title: How to add manufacturer logo in featured products module? | Opencart
body: <p>Hy guys, im preaty new to opencart and i need ur help.
  I managed to add the logo of the manufacturer on the product page,but know i want to display the logo of the manufacturer in the featured products.
  I managed to add the name of the manufacturer, but dont know how to get the img link of it :(. Im using OC 1.5.5.1</p>
  
  <p>this is my code for <code>featured.php</code>:</p>
  
  <pre class="lang-php prettyprint-override"><code>&lt;?php
  class ControllerModuleFeatured extends Controller {
      //alex start
      protected function index($setting) {
          $this-&gt;language-&gt;load('module/featured'); 
  
          $this-&gt;data['heading_title'] = $this-&gt;language-&gt;get('heading_title');
  
          $this-&gt;data['button_cart'] = $this-&gt;language-&gt;get('button_cart');
  
          $this-&gt;load-&gt;model('catalog/product'); 
  
          $this-&gt;load-&gt;model('tool/image');
  
          $this-&gt;data['products'] = array();
  
          $products = explode(',', $this-&gt;config-&gt;get('featured_product'));       
  
          if (empty($setting['limit'])) {
              $setting['limit'] = 5;
          }
  
          $products = array_slice($products, 0, (int)$setting['limit']);
  
          foreach ($products as $product_id) {
              $product_info = $this-&gt;model_catalog_product-&gt;getProduct($product_id);
  
              if ($product_info) {
                  if ($product_info['image']) {
                      $image = $this-&gt;model_tool_image-&gt;resize($product_info['image'], $setting['image_width'], $setting['image_height']);
                  } else {
                      $image = false;
                  }
  
                  if (($this-&gt;config-&gt;get('config_customer_price') &amp;&amp; $this-&gt;customer-&gt;isLogged()) || !$this-&gt;config-&gt;get('config_customer_price')) {
                      $price = $this-&gt;currency-&gt;format($this-&gt;tax-&gt;calculate($product_info['price'], $product_info['tax_class_id'], $this-&gt;config-&gt;get('config_tax')));
                  } else {
                      $price = false;
                  }
  
                  if ((float)$product_info['special']) {
                      $special = $this-&gt;currency-&gt;format($this-&gt;tax-&gt;calculate($product_info['special'], $product_info['tax_class_id'], $this-&gt;config-&gt;get('config_tax')));
                  } else {
                      $special = false;
                  }
  
                  if ($this-&gt;config-&gt;get('config_review_status')) {
                      $rating = $product_info['rating'];
                  } else {
                      $rating = false;
                  }
  
                  $this-&gt;data['products'][] = array(
                      'product_id'      =&gt; $product_info['product_id'],
                      'thumb'           =&gt; $image,
                      'name'            =&gt; $product_info['name'],
                      'manufacturer'    =&gt; $product_info['manufacturer'],              
                      'manufacturer_id' =&gt; $product_info['manufacturer_id'],
                      //'manufacturer_img'=&gt; $product_info['manufacturer_img'],
                      'manufacturers'   =&gt; $this-&gt;url-&gt;link('product/manufacturer/info', 'manufacturer_id=' . $product_info['manufacturer_id']),
                      'price'           =&gt; $price,
                      'special'         =&gt; $special,
                      'rating'          =&gt; $rating,
                      'reviews'         =&gt; sprintf($this-&gt;language-&gt;get('text_reviews'), (int)$product_info['reviews']),
                      'href'            =&gt; $this-&gt;url-&gt;link('product/product', 'product_id=' . $product_info['product_id'])
                  );
              }
          }
  
  
          if (file_exists(DIR_TEMPLATE . $this-&gt;config-&gt;get('config_template') . '/template/module/featured.tpl')) {
              $this-&gt;template = $this-&gt;config-&gt;get('config_template') . '/template/module/featured.tpl';
          } else {
              $this-&gt;template = 'default/template/module/featured.tpl';
          }
  
          $this-&gt;render();
      }
  }
  ?&gt;
  </code></pre>