Hello,
I've got a discount on a price without taxes in the cart I'd like to print this discount without taxes (it's a b2b site).
I managed to print the discount with taxes included, I made a few var_dump but cant find this information.
Can someone explain me where to find it or how to calculate it?
Thanx for your help
Check administrator\components\com_virtuemart\helpers\calculationh.php
Line 435
public function getCheckoutPrices
There are the calculations. So start there.
thank you for your answer, I'll check it.
I found a way to do it, by setting my taxe rule on the global amount and not on the product. Now my discount appears without taxes.
This means that if you want to have a discount without taxes, you cant have taxes set on the products, so you cant have a product price with taxes. dont know if it's a bug or just me not understanding taxes.