I am having trouble changing the order of totals in sales emails and pdf-s
I have tried these thing I read on this forum:
1) Changed order of totals in admin side system->configuration->sales->checkout totals sort order
2)coping /app/code/core/Mage/Sales/etc/config.xml lo local and editing
No results though, what else to do?
update – I got the totals right in pdf-s
I guess the config.xml worked or smth
But the e-mails are still wrong
img to iilustrate what I am tryimg yo do
Best Answer
I found the solution here https://stackoverflow.com/questions/18362033/change-the-order-of-totals Hope it helps someone. These things fixed it for me:
1) Change order of totals in admin side system->configuration->sales->checkout totals sort order
2) copy /app/code/core/Mage/Sales/etc/config.xml lo local and edit and tags of children
3) Copy app/code/core/Mage/Sales/Block/Order/Totals.php to app/code/local/Mage/Sales/Block/Order/Totals.php
and edit getTotals function to be like this