Magento – Remove tax from grand total

grand-totaltaxtotals

I need to remove tax from grand total in Magento.
Means I want only show Tax but not add grand total

enter image description here

Best Answer

you can managed this settign from admin

Go to admin>System>Configuration>Sales>Tax>Shopping Cart Display Settings

make Display Subtotal=Excluding Tax

enter image description here

you can managed tax display setting on cart page,from here :

admin>System>Configuration>Sales>Tax>Shopping Cart Display Setting

=================================================================== How to do this (programatically)....

Under {magento_base}/app/design/frontend/base/default/template/tax/checkout/

Edit file grandtotal.phtml (I suggest you make a backup of the file just in case).

Find the line:

<?php if ($this->includeTax() && $this->getTotalExclTax()>=0):?>

Delete the subsequent lines:

<tr>
    <td style="<?php echo $this->getStyle() ?>" class="a-right" colspan="<?php echo $this->getColspan(); ?>">
        <strong><?php echo $this->helper('tax')->__('Grand Total Excl. Tax')?></strong>
    </td>
    <td style="<?php echo $this->getStyle() ?>" class="a-right">
        <strong><?php echo $this->helper('checkout')->formatPrice($this->getTotalExclTax()) ?></strong>
    </td>
</tr>

This change means it will now only show the tax inclusive line in the cart review.

Related Topic