Override default recalculate behaviour

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
catatonic67
Ensign (ENS)
Ensign (ENS)
Posts: 3
Joined: Thu Sep 25, 2008 10:06 pm

Override default recalculate behaviour

Post by catatonic67 » 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

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Override default recalculate behaviour

Post by jmestep » Mon Sep 29, 2008 5:23 pm

You should be able to do that by selecting Discount Scope of global when you set the discount up.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

Post Reply