What i am trying to do is to get rid of the discount cumulative.
Regarding the moment of discount you are correct. The tax should be calculated over the basic price minus the discount
e.g.: product base price is 110,--
discount: -10,--
Tax (21% over 100): 21,--
--------------
Sale price: 121,--
When i place the discount AFTER the tax calculation the end price is the same but the TAX is incorrect and this will show in the cart, email and invoice.
e.g.: product base price is 110,--
Tax (21% over 110): 23,10
discount (inc 21%tax): -12.10
--------------
Sale price: 121,--
In the Cart all looks perfect for both the product line as the totals line. unit base price incl tax | quantity | tax amount | discount | Total (see print screen of cart)
In the backend all the values are also correct. although the discounts are not visible here (see print screen of back-end order).
However... in the confirmation emails an the pdf invoice, the discount of the product lines are added up (see printscreen email_notification).
Only the first product, the Z-Wave vera Gateway.. has a discount of 6,91 euro ex tax ( 7,50 euro incl. tax) the other product lines have no discount whatsover and still the product lines says a discount of 7,50 and the TOTAL discount is also 7,50
Basically i would like the email notification and the invoice to show NO discounts when there are NONE.
Thanks for all of your time.
[attachment cleanup by admin]