[ic] Coupon codes...

Doug Alcorn doug@lathi.net
26 Mar 2001 20:19:38 -0500

"Dan McFarland" <dan@mailturtle.com> writes:

> I want to have several mailing peices for customers that say ENTER THIS
> (ITEM?) CODE ##### and get a $--- discount.

Here's what I think.  Have a seperate table for discount codes.  On
the basket page, have an input for them to type in the discount code
with it's own little "apply discount" submit button.  Then you can
take this entered value and look it up.  If it exists, [discount] your
totals.  If it doesn't, give a warning.

> First of all, is it possible to use a negative price and create an ITEM for
> each code?

I don't know, I haven't tried.  My only concern with putting discounts
in the products table is that it becomes searchable with the rest of
the products.  Maybe you don't care where your customers get the
discount code as long as they buy something.  Maybe you do.

I think however you do it is going to require some programming.
 (__) Doug Alcorn (mailto:doug@lathi.net http://www.lathi.net)
 oo / PGP 02B3 1E26 BCF2 9AAF 93F1  61D7 450C B264 3E63 D543
 |_/  If you're a capitalist and you have the best goods and they're
      free, you don't have to proselytize, you just have to wait.