Post by Etheravion » Wed Mar 01, 2017 2:17 pm

Hi,

I'd like to show grand total that exclude tax. Kindly let me know which file to change the logic. Thanks.
Opencart V2.3.0.2

New member

Posts

Joined
Wed Oct 17, 2012 9:16 pm

Post by Johnathan » Wed Mar 01, 2017 11:24 pm

The file that controls the display of the "Total" line item is this one:

/catalog/model/total/total.php
or in 2.3:
/catalog/model/extension/total/total.php

You'd need to have it loop through the order totals, find the tax one, and factor it out of the value that is generated.

If you want an easier solution, Display Order Totals With Tax can display any of the Order Total line items with or without tax, so you can choose how they display. Feel free to take a look at the screenshots and demo site, and if you're interested let me know at www.getclearthinking.com/contact if you have any further questions.

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by Etheravion » Thu Mar 02, 2017 1:19 pm

Thanks Johnathan!

New member

Posts

Joined
Wed Oct 17, 2012 9:16 pm
Who is online

Users browsing this forum: No registered users and 1 guest