Basket - Product Pricing Rules not Calculating Correctly

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
rkclark
Ensign (ENS)
Ensign (ENS)
Posts: 4
Joined: Thu Oct 15, 2009 6:35 am

Basket - Product Pricing Rules not Calculating Correctly

Post by rkclark » Mon Jul 25, 2011 1:27 pm

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

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Basket - Product Pricing Rules not Calculating Correctly

Post by jmestep » Tue Jul 26, 2011 5:21 am

If you have custom code (maybe you don't) you need to make sure it is rounding instead of storing 4 decimal places.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

Post Reply