(I'm running 1.3.9h, and I don't want to upgrade to 1.5, because of the many hours I've spent to modify my cart the way it works now - If I upgrade, I have to do all this work over again)

How come it is made like this Ajeh?

Wouldn't it be better to actually use the "total order value" in the shoppingcart, when a coupon has a product restriction, than using the price for the product the coupon is for?

If a product is priced 100, and we set a coupon for 10 off if purchase is > 200.

If the coupon should work - the way it is now - the customer has to purchase 2 x product with price 100 = 200

What if the customer wants to purchase several other products, and total cart value is 2500 ?
He will still get the message: "You have to spend at least 200 to make the coupon work" - unless he has placed to of the products worth 100 in the cart
(if the coupon has restrictions to this product)

Any way to fix this in ot_coupon.php