Post by skip » Mon Nov 14, 2016 8:47 pm

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 593 times


Active Member

Posts

Joined
Mon May 09, 2011 9:57 pm

Post by opencartmart » Mon Nov 14, 2016 11:49 pm

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.

XForm - Opencart Form Builder
Xshippingpro - An advanced Shipping Module
Need Professional support? Skype: opencartmart


Active Member

Posts

Joined
Wed Oct 02, 2013 3:59 am

Post by skip » Tue Nov 15, 2016 12:45 am

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 ?

Active Member

Posts

Joined
Mon May 09, 2011 9:57 pm

Post by opencartmart » Tue Nov 15, 2016 12:43 pm

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

XForm - Opencart Form Builder
Xshippingpro - An advanced Shipping Module
Need Professional support? Skype: opencartmart


Active Member

Posts

Joined
Wed Oct 02, 2013 3:59 am
Who is online

Users browsing this forum: Google [Bot] and 17 guests