Jump to content

strange rounding discount percentage in cart


peeke

Recommended Posts

Hi,

 

I'm using the last version 1.6 with test data.

When I order 1 of the 'printed summer dress with a reductrion of 5%' the percentage in the cart is correct.

When I order the same product but 2  the percentage is still correct.

But when I increase the amount of products in the cart with '+', the percentage changes to 4.99%

 

What is causing this rounding error?

 

Tx

 

just discovered that after refreshing the cart page the percentage is back 5% (??) I'm using firefox

Edited by peeke (see edit history)
Link to comment
Share on other sites

  • 2 weeks later...

I know the reason but not the solution! ;-(
 

Product A: 6.64 Price for 1 piece 
6 pieces save 10% 
 
With 6 pieces displayed is the discount of 9.94% (not 10%) because there are rounds and the percentage of "distorted" is calculated starting from the final price displayed. 
 
When I refresh the discount back to 10%. 
 
We look forward to some "wise" to give us a hand!
Link to comment
Share on other sites

×
×
  • Create New...