title: OpenCart - Showing category description on category menu module
body: <p>OpenCart - Showing category description on category menu module. 
  try to display category image and description on category list, Image working fine but the description of the  category doesn't work.</p>
  
  <p>here catalog\controller\module\category.php</p>
  
  <pre><code>&lt;?php  
  class ControllerModuleCategory extends Controller {
      protected function index($setting) {
          $this-&gt;language-&gt;load('module/category');
  
          $this-&gt;data['heading_title'] = $this-&gt;language-&gt;get('heading_title');
  
          if (isset($this-&gt;request-&gt;get['path'])) {
              $parts = explode('_', (string)$this-&gt;request-&gt;get['path']);
          } else {
              $parts = array();
          }
  
          if (isset($parts[0])) {
              $this-&gt;data['category_id'] = $parts[0];
          } else {
              $this-&gt;data['category_id'] = 0;
          }
  
          if (isset($parts[1])) {
              $this-&gt;data['child_id'] = $parts[1];
          } else {
              $this-&gt;data['child_id'] = 0;
          }
  
          $this-&gt;load-&gt;model('catalog/category');
  
          $this-&gt;load-&gt;model('catalog/product');
  
          $this-&gt;data['categories'] = array();
  
          $categories = $this-&gt;model_catalog_category-&gt;getCategories(0);
  
          foreach ($categories as $category) {
              $total = $this-&gt;model_catalog_product-&gt;getTotalProducts(array('filter_category_id' =&gt; $category['category_id']));
  
              $children_data = array();
  
              $children = $this-&gt;model_catalog_category-&gt;getCategories($category['category_id']);
  
              foreach ($children as $child) {
                  $data = array(
                      'filter_category_id'  =&gt; $child['category_id'],
                      'filter_sub_category' =&gt; true
                  );
  
                  $product_total = $this-&gt;model_catalog_product-&gt;getTotalProducts($data);
  
                  $total += $product_total;
  
                  $children_data[] = array(
                      'category_id' =&gt; $child['category_id'],
                      'name'        =&gt; $child['name'] . ($this-&gt;config-&gt;get('config_product_count') ? ' (' . $product_total . ')' : ''),
                      'href'        =&gt; $this-&gt;url-&gt;link('product/category', 'path=' . $category['category_id'] . '_' . $child['category_id']) 
                  );      
              }
              // image cat code
              $this-&gt;load-&gt;model('tool/image');
              $image = empty($category['image']) ? 'no_image.jpg' : $category['image'];
              $thumb = $this-&gt;model_tool_image-&gt;resize($image, 50, 127);
  
  
  
              $this-&gt;data['categories'][] = array(
                  'category_id' =&gt; $category['category_id'],
                  'name'        =&gt; $category['name'] . ($this-&gt;config-&gt;get('config_product_count') ? ' (' . $total . ')' : ''),
                  'children'    =&gt; $children_data,
                  'thumb'    =&gt; $thumb,
                  'href'        =&gt; $this-&gt;url-&gt;link('product/category', 'path=' . $category['category_id'])
              );  
          }
  
          if (file_exists(DIR_TEMPLATE . $this-&gt;config-&gt;get('config_template') . '/template/module/category.tpl')) {
              $this-&gt;template = $this-&gt;config-&gt;get('config_template') . '/template/module/category.tpl';
          } else {
              $this-&gt;template = 'default/template/module/category.tpl';
          }
  
          $this-&gt;render();
      }
  }
  ?&gt;
  </code></pre>
  
  <p>and here template\module\category.tpl</p>
  
  <pre><code>&lt;div class="menu-left"&gt;
    &lt;div class="title"&gt;&lt;?php echo $heading_title; ?&gt;&lt;/div&gt;
  
      &lt;ul&gt;
        &lt;?php foreach ($categories as $category) { ?&gt;
        &lt;li class="sub"&gt;
          &lt;?php if ($category['category_id'] == $category_id) { ?&gt;
         &lt;span&gt; &lt;a href="&lt;?php echo $category['href']; ?&gt;" class="active"&gt;&lt;?php echo $category['name']; ?&gt;&lt;/a&gt;&lt;/span&gt;
          &lt;?php } else { ?&gt;
          &lt;span&gt;&lt;a href="&lt;?php echo $category['href']; ?&gt;"&gt;&lt;?php echo $category['name']; ?&gt;&lt;/a&gt;&lt;/span&gt;
          &lt;?php } ?&gt;
          &lt;?php if ($category['children']) { ?&gt;
       &lt;div class="panel"&gt;
          &lt;ul&gt;
            &lt;?php foreach ($category['children'] as $child) { ?&gt;
            &lt;li&gt;
              &lt;?php if ($child['category_id'] == $child_id) { ?&gt;
              &lt;a href="&lt;?php echo $child['href']; ?&gt;" class="active"&gt; - &lt;?php echo $child['name']; ?&gt;&lt;/a&gt;
              &lt;?php } else { ?&gt;
              &lt;a href="&lt;?php echo $child['href']; ?&gt;"&gt; - &lt;?php echo $child['name']; ?&gt;&lt;/a&gt;
              &lt;?php } ?&gt;
            &lt;/li&gt;
            &lt;?php } ?&gt;
          &lt;/ul&gt;
  
  
    &lt;div class="desc"&gt;
  
  &lt;?php if(isset($category_info)) { ?&gt;
  &lt;?php echo $category_info['description']; ?&gt;
  &lt;?php } ?&gt;
      &lt;div class="img-desc"&gt;&lt;img src="&lt;?php echo $category['thumb']; ?&gt;" /&gt;&lt;/div&gt;
  
  
    &lt;/div&gt;
  
  
  
          &lt;/div&gt;
          &lt;?php } ?&gt;
        &lt;/li&gt;
        &lt;?php } ?&gt;
      &lt;/ul&gt;
  
  &lt;/div&gt;
  </code></pre>