Tags/topics: 
1
Answers
Vote up!
0
Vote down!

Display tax calculated from tax inclusive order total

Hello,
i started using the drupal commerce module recently, which is great.
I'm currently working with taxes.
I wish to display tax calculated from tax inclusive order total, without changing any prices already displayed, because all prices are already tax inclusives.
I wish to display this line just before the order total if possible.

Does anyone have an idea of how to do this?

Thank you for your help :)

Asked by: Caosaran
on July 11, 2012

Comments

I will answer myself since i had some results on my own :
implement commerce_tax_type_calculate_rates
then change stuff in $line_item where it is best to get the result you want.
Probably not the best solution and it's very dirty but it works.

- Caosaran on July 13, 2012

1 Answer

Vote up!
0
Vote down!

See answer provided by user in above comment :D

Josh Miller
Answer by: Josh Miller
Posted: Sep 5, 2012