Codify Solutions Posted August 26, 2016 Share Posted August 26, 2016 Hello Everyone, I have a problem to changing order total. What I did I put Cart.php on override folder and put getOrderTotal function there. I want to add suppose $10 on final total means Total after Tax ( Grand Total ). I put my code before return Tools::ps_round((float)$order_total, $compute_precision); I added if ( my condition ) { $order_total += $myvalue; } In this getOrderTotal function it goes many times I think whenever getOrderTotal calls on payment page. but it add that amount on Total products not the final amount, so when I proceed with the order it won't change the final amount of the order. Please help. Thanks ! Link to comment Share on other sites More sharing options...
ZiedDams Posted August 3, 2022 Share Posted August 3, 2022 any new ?, thank you Link to comment Share on other sites More sharing options...
Donatello12 Posted July 13, 2023 Share Posted July 13, 2023 Hi Zied, Did you manage to figure this out i really need some help here Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now