Hi,
The method DiscountValidForProduct from DiscountExtender receives the orderline product has a parameter. Although, this is not very helpfull because we can only access product information. I think it should have the orderline as a parameter instead, so we can access the orderline properties like quantity and order, and the product would be accessible too.
Thoughts?
BR, Mario