Author Topic: Pricing rules overrides and Tax calculation  (Read 1611 times)

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3524
  • using Matomo instead of Google Analytics
Pricing rules overrides and Tax calculation
« 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.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9942
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Pricing rules overrides and Tax calculation
« Reply #1 on: November 03, 2011, 15:02:22 pm »
For discount before tax?
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3524
  • using Matomo instead of Google Analytics
Re: Pricing rules overrides and Tax calculation
« Reply #2 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]
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations