I’m sorry if I misunderstand this, but the changes ARE shown in the invoice… The discount you applied to the line item is shown in the totals, thus reflecting the changes you made.
You changed the prices, by adding a discount of 3.60 (price) + 0.22 (tax), totalling 3.82.
This is exactly what is shown in the invoice (before the change, that discount would not have been shown in the totals). Can you tell me what you expect to see? Your original question was to ask how this was calculated and I explained that the line items are always before discount (so the original price) and that the discount is printed in the totals (and subtracted from the subtotal). But perhaps I misunderstood what you are trying to accomplish.
By WooCommerce email I was not referring to the email that was sent before you made your changes, but the email that WooCommerce sends after these changes (if you manually resend it to yourself for example).
-
This reply was modified 4 years, 9 months ago by
Ewout. Reason: typo