1
Support / Modify the Order Total Formula
« on: April 11, 2018, 09:56:30 PM »
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.
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.