title: Opencart 1.5.6 How to show price, with and without tax in shopping cart?
body: <p>I want to show the individual price of each product, tax included and tax excluded on the shopping cart page. I configured opencart to display prices including tax, but I want to add a column to show the price without tax. I have Opencart 1.5.6. Please can someone help me ?. I tried to modify <code>cart.php</code> and <code>cart.tpl</code> but I have not succeeded, <code>$price_extax</code> shows last price in all products in shopping cart. Thank You.</p>
  
  <p>In <code>cart.tpl</code> I added following code:
  It shows column tittle:    </p>
  
  <pre><code>&lt;td class="price"&gt;&lt;?php echo "Price ex-tax"; ?&gt;&lt;/td&gt;
  </code></pre>
  
  <p>It shows price:</p>
  
  <pre><code>&lt;td class="price"&gt;&lt;?php echo $price_extax; ?&gt;&lt;/td&gt;
  </code></pre>
  
  <p>In cart.php I added following code:</p>
  
  <pre><code>$this-&gt;data['price_extax'] = $this-&gt;currency-&gt;format($this-&gt;tax-&gt;calculate($product['price'],$product['tax_class_id'], $this-&gt;config-&gt;get('config_tax'))/1.12); //My code (tax is 12%)
  </code></pre>