Issue 87: PATCH Wrong value taken into consideration when verifying the minimum cart value to apply promotions or applying percentage promotions.
Status:  Fixed
Owner: ----
Closed:  Jun 2008
Reported by edmundo...@gmail.com, May 7, 2008
What steps will reproduce the problem?
1. Fill a cart, do a checkout and apply a percentage promotion.
2. Go back to the product list, choose the cart and checkout again using
the same percentage promotion.

What is the expected output? What do you see instead?
It should behaves the same. But in the second checkout the values used as
the minimum cart value and the total value to apply the discount are higher. 

What version of the product are you using? On what operating system?
trunk. Ubuntu 7.10

Please provide any additional information below.
The method that applies the promotion is using the total order value. This
value includes shipping and taxes, (and shipping value will only be
available into the order AFTER the first checkout).

I fixed it using only the order items total, I don't agree that discounts
should be applied over shipping nor taxes, same for the minimum cart value.

This issue is related with  issue 61 . I couldn't reproduce it exactly but it
refers to a percentage promotion problem and another that makes a product
disappear (that I think is subject to another issue).
order_total_value_for_promotions.patch
919 bytes   View   Download
Jun 12, 2008
#1 johnd...@gmail.com
Thanks Edmundo
Jun 15, 2008
Project Member #2 subim...@gmail.com
Great catch Edmundo, I had a customer who brought up the same issue this weekend. Thanks!

Fixed with r98
Status: Fixed