Page 1 of 1

Basket - Product Pricing Rules not Calculating Correctly

Posted: Mon Jul 25, 2011 1:27 pm
by rkclark
I created some special User Groups and set up Pricing Rules on all of my products and assigned the Group to the Rule.

Image

When I log in as a member of the group prices display correctly on the product page. Prices are also correct when I add a quantity of 1 to my cart. However, when I increase the quantity in the cart, the calculated item total is wrong, it's always a penny less than what the correct total should be. I assume, it would multiply the quantity by the price but apparently it doesn't. Has anyone experienced this same problem or have any idea as to what may be going on here. The difference is only a penny but it's creating havoc for our Customer Service folks.

A quantity of one calculates fine:

Image

Increase the quantity and the calculation is off by a penny.


Image

Re: Basket - Product Pricing Rules not Calculating Correctly

Posted: Tue Jul 26, 2011 5:21 am
by jmestep
If you have custom code (maybe you don't) you need to make sure it is rounding instead of storing 4 decimal places.