Page 1 of 1

Remove tax from cart view

Posted: Mon Nov 14, 2016 8:47 pm
by skip
Hi,
How to remove/hide tax line but in same time does not affect Total. Please look image
Thanks
cart.jpg

cart.jpg (52.86 KiB) Viewed 597 times


Re: Remove tax from cart view

Posted: Mon Nov 14, 2016 11:49 pm
by opencartmart
I am assuming that you know how to hide vat/tax row from admin -> Extesions -> Order Totals. Now main concern is keeping the order total same.
Actually it won't be easy. You will have to modify catalog/model/totals/total.php file OR append tax amount on order total using ocmod or vqmod.

Re: Remove tax from cart view

Posted: Tue Nov 15, 2016 12:45 am
by skip
I think this is not posibly solve from admin panel because if I remove tax line, total will be shown without tax.
Is it hard remove in total.php ?

Re: Remove tax from cart view

Posted: Tue Nov 15, 2016 12:43 pm
by opencartmart
Yes, you will have to adjust total module as well. You can take code from tax total module and add that code in total module.

i.e from catalog/model/total/tax.php to catalog/model/total/total.php