Re: creating a discount coupon for shopping cart

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 22725
interpreted = N
texte = This gets a little complicated, but just bare with me. If need be, focus questions directly to me then instead of the list:Create a SKU called DISC12312 or something to that effect with a negative price of -$5.To prevent hacking, allow the item to be added in this way.Have a special page explaining how it works. Say, If you want the coupon, click here. On that next page they click to, add the item to their cart contextually. This way, they never see the SKU. On that same page, do a lineitems of the cart to make sure that there is no other item in their cart beginning with DISC in the SKU. (You get the idea - this way they can't add more than one).On the show cart page, have a [showif] for the sku (if you display the sku), hideit if the sku begins with DISC (what it comes down to is you don't want anybody to ever know the SKU of this discount coupon.When you get they click purchase, see if the subtotal is $20.00 or more (the amount of the coupon minus the minimum subtotal). If it is, leave it in there, otherwise, remove the coupon contextually (so they never see the SKU) and display a message explaining that they lost the coupon because their order didn't meet the minimum price requirements, or something to that effect.I hope that explains it clearly enough. It works (I've done something similar on other sites already, except mine was a variable discount based on their subtotal).Good luck.-howard On Tue, 19 Jan 1999, Dale Stokdyk wrote:> Hi. I'd like to create a $5 coupon that shoppers can pick up and place in > their basket for Valentine Day preorders. > > There's a couple of rules though...only one coupon per customer (am not > using cookies, so perhaps the rule is actually per purchase), and a > minimum purchase amount of say, $25. > > Has anyone implemented something like this? I'd like to hear how your > coupon has worked, and any gotchas to watch out for! Thanks in advance, > > Dale Stokdyk > > > p.s. --tried to search the archives for this topic this morning, but gave > up. Way s_l_o_w! > > > > > Associated Messages, from the most recent to the oldest:

    
  1. Re: creating a discount coupon for shopping cart (Howard Wolosky 1999)
  2. creating a discount coupon for shopping cart (Dale Stokdyk 1999)
This gets a little complicated, but just bare with me. If need be, focus questions directly to me then instead of the list:Create a SKU called DISC12312 or something to that effect with a negative price of -$5.To prevent hacking, allow the item to be added in this way.Have a special page explaining how it works. Say, If you want the coupon, click here. On that next page they click to, add the item to their cart contextually. This way, they never see the SKU. On that same page, do a lineitems of the cart to make sure that there is no other item in their cart beginning with DISC in the SKU. (You get the idea - this way they can't add more than one).On the show cart page, have a [showif] for the sku (if you display the sku), hideit if the sku begins with DISC (what it comes down to is you don't want anybody to ever know the SKU of this discount coupon.When you get they click purchase, see if the subtotal is $20.00 or more (the amount of the coupon minus the minimum subtotal). If it is, leave it in there, otherwise, remove the coupon contextually (so they never see the SKU) and display a message explaining that they lost the coupon because their order didn't meet the minimum price requirements, or something to that effect.I hope that explains it clearly enough. It works (I've done something similar on other sites already, except mine was a variable discount based on their subtotal).Good luck.-howard On Tue, 19 Jan 1999, Dale Stokdyk wrote:> Hi. I'd like to create a $5 coupon that shoppers can pick up and place in > their basket for Valentine Day preorders. > > There's a couple of rules though...only one coupon per customer (am not > using cookies, so perhaps the rule is actually per purchase), and a > minimum purchase amount of say, $25. > > Has anyone implemented something like this? I'd like to hear how your > coupon has worked, and any gotchas to watch out for! Thanks in advance, > > Dale Stokdyk > > > p.s. --tried to search the archives for this topic this morning, but gave > up. Way s_l_o_w! > > > > > Howard Wolosky

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

addlineitems within formvariable loop (1998) Running 2 two WebCatalog.acgi's (1996) webcat2b12 CGI -- Date comparisons (1997) Virtual hosting and webcatNT (1997) WebCatalog for guestbook ? (1997) WebCat for mass emailings (1997) Add htmlarea 3 to SiteBuilder (2004) [WebDNA] Sorry WebDNA server not running /Template ERROR/ Slow speeds (2019) 'RequiredField' Question (1998) Single Link browsing (1997) WebCat2 - [SendNews] (1997) combine search (1998) WebCat2b13MacPlugin - nested [xxx] contexts (1997) attacment pdf (2002) hmmm (2006) WebCat2 beta FTP site (1997) Forcing a NEWCART (1997) Help formatting search results w/ table (1997) Where's Cart Created ? (1997) Looping control (1997)