title: How to change default home page in opencart
body: <p>I am new to opencart. I just want two main pages, one will be listing all the products(by default in opencart) and the other will describes about the company. So how can i change the default home page.</p>
  
  <p>These two pages should have different headers. How can i set the route for this kind of pages.</p>
  
  <p>Ya i tried as follows</p>
  
  <p>created new file under common as <code>default.tpl</code></p>
  
  <p>In my <code>home.tpl</code> I used</p>
  
  <pre><code>&lt;?php if(!isset($this-&gt;request-&gt;get['route'])){
      echo $header;
  }else{
      echo $default;
  }
  ?&gt;
  </code></pre>
  
  <p>But it is not rendering default. I also created a controller under <code>controller/common/default.php</code> with following lines</p>
  
  <pre><code>&lt;?php
  class ControllerCommonDefault extends Controller {
      public function index() {
          $this-&gt;template = $this-&gt;config-&gt;get('config_template') . '/template/common/default.tpl';
          $this-&gt;render();
      }
  }
  </code></pre>