On Thu, 22 Dec 2005 [EMAIL PROTECTED] wrote: > This is not strictly a Perl or Beginner question, but since I am > implementing this is Perl I thought I'd run it by the list.... > > Any suggestions on how to flexibly model coupons/discounts in an SQL > backed commerce app? (bundle discounts, shipping modifiers, %off > item/type, etc.)
Approaches to this would depend deeply on how the rest of the system is implemented, including both your code logic and data model, as well as how your organization wanted to handle things like coupons. For example, should coupons have a limited run, with constraints on how many can be in circulation? Should they be tied to specific user accounts? Should there be blanket VIP or employee discounts, and if so, should there be any restrictions on what customers can have them and what processes or staff on your side can honor them? That in particular is really a business decision more than a technical one, and figuring out how you want to address that decision should answer a lot of the details about how you'll end up implementing it. -- Chris Devers FORg ÉQ-
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>