0

I have a fixed discount amount of 30 for the whole cart. My product price is 189, and product tax is 5% = 9.

When I apply fixed discount of 30, my prodcuct tax should be caluclated for 159, and it should be 7,95. For some reason Magento returns me 7,57 for the tax and 151,43 for the subtotal.

Any ideas?

Josip Gvozdić
  • 349
  • 1
  • 6
  • 18

1 Answers1

3

I have a 'deja vu' feeling. See this question. The tax is calculated correctly: price with tax 189 means...price without tax = 189 / 1.05 = 180 and tax = 189-180 = 9.

For price with tax = 159...price without tax = 159 / 1.05 = 151.4285 (almost 151.43) and tax = 159 - 151.43 = 7.57

Marius
  • 197,939
  • 53
  • 422
  • 830
  • Hey Marius, thanks for the answer. We have a new problem, every informations is welcomed http://magento.stackexchange.com/questions/5014/magento-totals-on-emails-and-pdf-invoices-with-coupon-applied

    Cheers

    – Josip Gvozdić Jun 21 '13 at 18:40