Override default recalculate behaviour
Posted: Mon Sep 29, 2008 1:04 pm
We've been asked to change the calculation for volume discounts. Although the default calculation makes more sense, the client wants to apply the volume discount to all items in the cart, even if only one cart item is eligible. It would seem that the calculation is made, at least in part, by recalculate method from the Basket class. Obviously, it would be a good deal of work to re-implement a custom Basket class and I would like to avoid it (recalculate is not virtual). Is anyone aware of an easier method of achieving the same result? Ideas are welcome and appreciated.
Cheers
Cheers