Re: Business rules and filtering
Re: Business rules and filtering
- Subject: Re: Business rules and filtering
- From: Maik Musall <email@hidden>
- Date: Thu, 14 Feb 2013 13:52:46 +0100
Am 14.02.2013 um 13:38 schrieb Pascal Robert <email@hidden>:
> Hi guys,
>
> In a shopping cart, how would you apply discount based on business rules? For example, if someone buy a quantity of 3 of the same item, you apply discount X, or if an item is ordered before a certain date, you apply discount Y. Yes, I can do that all in code, but that's not very flexible.
>
> Any ideas?
Add an abstraction layer for shopping cart items and add virtual items to the cart that contain the calculated rebate?
Maik
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden