[ic] Combining products for discounts

cfm@maine.com cfm@maine.com
Fri, 6 Apr 2001 13:17:32 -0400

On Fri, Apr 06, 2001 at 01:05:01PM -0400, Bob Puff@NLE wrote:
> Hello,
> I've just come across another unique request.  THere is a certain group 
> of items that get quantity discounts.  No problem so far.  However, if a 
> user purchases even just one of each of the couple dozen items in this 
> category, they should receive the quantity discount when the number 
> exceeds the quantity threshold.  
> In other words, with the quantity breaks at 10,
>  10 widget As get quantity pricing.
>  5 widget As and 5 widget Bs get quantity pricing.
> etc...
> Is there a way to group these together, and apply some sort of discount?  There are probably at least 30 items that get grouped this way.

We have a similar situation for shipping.  If a customer purchases any
item that includes shipping, shipping is included on the entire order.
If not, then there is a shipping calculation.  We use a field in products
db to flag whether or not an item includes shipping.

So your widgets A would have the flag set, if the catalog sees the
flag it uses the quantity pricing.  I can see that getting complex
real quick as soon as they ask for the next permutation.  :->

We'd do that with a CommonAdjust routine.


Christopher F. Miller, Publisher                             cfm@maine.com
MaineStreet Communications, Inc         208 Portland Road, Gray, ME  04039
1.207.657.5078                                       http://www.maine.com/
Content management, electronic commerce, internet integration, Debian linux