Magento displays tax summary in cart and checkout by default:
You may not always want this to show and there is a simple method of hiding the tax section in cart by making the following changes:
– go to /app/design/frontend/base/default/template/tax/checkout/tax.phtml
– copy this template file to your theme folder eg. /app/design/frontend/default/customtheme/template/tax/checkout/tax.phtml
– uncomment the following code in the newly copied template file (line 47 in base template file):
<td class="a-right" style="<?php echo $_style ?>" colspan="<?php echo $this->getColspan(); ?>">
<?php echo $this->escapeHtml($rate['title']); ?>
<?php if (!is_null($rate['percent'])): ?>
(<?php echo (float)$rate['percent']; ?>%)
<?php endif; ?>
<br />
</td>
<?php if ($isFirst): ?>
<td style="<?php echo $_style ?>" class="a-right" rowspan="<?php echo count($rates); ?>">
<?php echo $this->helper('checkout')->formatPrice($amount); ?>
</td>
<?php endif; ?>
Your commented code should look like this:
Clear cache and place a test order. Tax details won’t show in cart but they will show in your order confirmation.
Agh!! Wonder what the % or number of guest we have lost due to this!
great ! but what must we edit when we use a onecheckout module , to hide the tax