Hi All,
I need to edit the way AbanteCart calculates the total. In my case, I want it to be like this:
Order Total = (Sub Total + Taxes - Account Balance ) + Shipping Fees
By default, the calculation is like this:
Order Total = (Sub Total + Taxes + Shipping Fees - Account Balance )
The first thing I played with was the Order Total Extension where is adjusted the calculation order, however, the shipping fees is always deducted from the account balance which I dont want to.
Can anyone guide which files and what do I edit? I don't mind hardcoding the formula as this is my only use case.
Thank you.
calculation order does not affect on result here.
Total amount does matter.
You can check all of them in folder public_html/storefront/model/total