HomeHome Product Discus... Product Discus...SmithCartSmithCartCategory Quantity DiscountsCategory Quantity Discounts
Previous
 
Next
New Post
8/20/2010 11:50 AM
 

There seems to be a bug with the Category Quantity Discounts.

To recreate:

If I have 2 different products in two different categories, with 2 different quantity break discounts, the quantities are added together in the cart, giving wrong sales values.

For example:

I have product 1, with a price of $2.00. At a quantity of 25+, it drops to $1.04 each.

I have product 2, with a price of $2.69. At a quantity of 25+, it drops to $1.99 each.

If I add 20 of product 1, and another 5 of product 2, it discounts all the lines to $1.99 (incorrect).

 
New Post
8/20/2010 12:05 PM
 

A caveat to this issue as well....

If I change the quantities in the cart back to 0, it grabs the $2.69 price for both items, instead of setting one to $2.69 and one to $2.00....

I think what may have been overlooked is price "grouping" either by category or by product. I think it's looking at quantities and fetching the first record it can find for the new price, as opposed to looking at what price group a product is in. This could be easily fixed with another field (PriceGroup) with an identifier, so when it looks at each line in the cart to calculate, it only looks for items in that "group".

Just my $.02... discounted to $2.69... lol

 
New Post
8/23/2010 9:39 AM
 

Bump.....

 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartCategory Quantity DiscountsCategory Quantity Discounts