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:

[append] problems (2003) Public beta 2 for WebCatalog 4.0 is now available. (2000) F3 crashing server (1997) Questions To Answer (1997) WebCat2b13MacPlugIn - [include] (1997) Changing Global template settings (2002) WebCatalog/Mac 2.1b2 New Features (1997) syntax question, not in online refernce (1997) OT- AS/400 and Macs (2003) user flush db (2002) Verifying SSL on Page (2002) OT: Urgent help with Windows and Javascript (2003) syntax question, not in online refernce (1997) New Mac Public Beta Available (1997) Problems with [Search] param - Mac Plugin b15 (1997) [WebDNA] Has anyone used WebDNA as the back end to an app from end? (2016) Interpreting WebDNA tags (2004) Webcat Memory use??? (2004) How Many SKU's is enough? (1997) error (2000)