I have followed the article to implement entire order discount and I found a question.
http://devnet.kentico.com/Knowledge-Base/E-commerce/How-to-implement-discount-functionality-for-an-ent.aspxSays there are 2 products in my cart
Product A : $50
Product B : $20
And I have created a "Entire Order Discount" for $10.
I would expect the total price = ($50 + $20) - $10 = $60
But I found the result = (($50-$10) + ($20-$10) - $10) = $40
The discount applied on each item and also to the order instead of the entire order.
I reckon I need to override the function ShoppingCartInfoProvider.CalculateTotalItemsPrice(cart) to stop discount action for each cart item if it is a entire order discount.
I work on v6 - ASPX Template.