title: display product model in category page opencart
body: <p>I am trying to show the product model in the category page.
  I have added 
  <code>'model'=&gt; $result['model']</code>
  in the /catalog/controller/product/category.php </p>
  
  <pre><code>$data['products'][] = array(
  
                      'product_id'  =&gt; $result['product_id'],
  
                      'thumb'       =&gt; $image,
                      'name'        =&gt; $result['name'],
                      'description' =&gt; utf8_substr(strip_tags(html_entity_decode($result['description'], ENT_QUOTES, 'UTF-8')), 0, $this-&gt;config-&gt;get('config_product_description_length')) . '..',
                      'price'       =&gt; $price,
                      'special'     =&gt; $special,
                      'tax'         =&gt; $tax,
                      'minimum'     =&gt; $result['minimum'] &gt; 0 ? $result['minimum'] : 1,
                      'rating'      =&gt; $result['rating'],
                      'href'        =&gt; $this-&gt;url-&gt;link('product/product', 'path=' . $this-&gt;request-&gt;get['path'] . '&amp;product_id=' . $result['product_id'] . $url),
                      'model'       =&gt; $result['model']
                  );
  </code></pre>
  
  <p>also i have edited category.tpl with the following code in the products foreach</p>
  
  <pre><code>&lt;?php if (!empty($product['model'])) { ?&gt;
                      &lt;h5 class="model"&gt;&amp;nbsp;&lt;?php echo $product['model']; ?&gt;&lt;/h5&gt;
                  &lt;?php } ?&gt;
  </code></pre>
  
  <p>but nothing shows in the category page.</p>
  
  <p>What else should i do?</p>