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
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.
/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.
Who is online
Users browsing this forum: No registered users and 1 guest