VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: jjk on November 02, 2011, 19:54:51 PM

Title: Pricing rules overrides and Tax calculation
Post by: jjk on November 02, 2011, 19:54:51 PM
J1.7.2/VM2 revision 4590
One more issue that has to be solved :-)
When stating a 'Discounted Price' in the Pricing rules overrides, the sales tax isn't recalculated accordingly. Sales tax still displays the amount calculated for the normal price.
Title: Re: Pricing rules overrides and Tax calculation
Post by: Milbo on November 03, 2011, 15:02:22 PM
For discount before tax?
Title: Re: Pricing rules overrides and Tax calculation
Post by: jjk on November 03, 2011, 19:06:13 PM
See screenshot (three images merged into one)  ;)

BTW - concerning the display of tax when the final price is rounded - would it make sense to add an additional rule for displaying the tax like this (plain language as I'm still php iliterate):

'Display tax': 'If 'final price' = rounded, 'final price' / (1+'tax') * 'tax', else 'tax amount'.
...where 'tax amount' means the normally calculated tax amount.

[attachment cleanup by admin]