Re: Adding a donation amount

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 31183
interpreted = N
texte = >I'm doing an online shop for a charity. We will be selling a bunch >of products, but we also need the option of allowing people to add a >donation on top of their purchases. I've been advised that the >donation needs to be treated as a product. That's fine. But I want >the user to be able to enter the amount, any amount from $1 to >whatever! (of course, no donation at all if they don't want to). A >pop-up menu would probably suffice (I don't want to limit anybody), >but a user-entered amount would be preferable. > >How can I achieve this?Simple, set the value to $1 in the db, then let them use the quantity field to set the number of $1 donations they want to make. They'll just have to put 1000 in the quantity field if they are going to make a $1000 donation ...:) ================================ Kenneth Grome, WebDNA Consultant 808-737-6499 http://webdna.net ================================------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Associated Messages, from the most recent to the oldest:

    
  1. Re: Adding a donation amount (Kenneth Grome 2000)
  2. Re: Adding a donation amount (Tim Robinson 2000)
  3. Re: Adding a donation amount (Stuart Tremain 2000)
  4. Adding a donation amount (Tim Robinson 2000)
>I'm doing an online shop for a charity. We will be selling a bunch >of products, but we also need the option of allowing people to add a >donation on top of their purchases. I've been advised that the >donation needs to be treated as a product. That's fine. But I want >the user to be able to enter the amount, any amount from $1 to >whatever! (of course, no donation at all if they don't want to). A >pop-up menu would probably suffice (I don't want to limit anybody), >but a user-entered amount would be preferable. > >How can I achieve this?Simple, set the value to $1 in the db, then let them use the quantity field to set the number of $1 donations they want to make. They'll just have to put 1000 in the quantity field if they are going to make a $1000 donation ...:) ================================ Kenneth Grome, WebDNA Consultant 808-737-6499 http://webdna.net ================================------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Kenneth Grome

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:

Error: this shopping cart has already been submitted and (2006) Emailer (1997) Menu Madness (2001) [OT] Trying to steal databases on our server (2003) problems with WebCat-Plugin () Search design (1997) Protect Tage and Groups (1998) [WebDNA] Why doesn't this returnraw redirect to the new page? (2009) still having shipCost.db Problem (1997) StoreBuilder Shopping Cart (2000) Server slowing down. (1997) Expiration of Carts (1997) unable to launch acgi in WebCat (1997) WebCatalog for guestbook ? (1997) WebDNA Mail issues (2002) SiteGuard Use Question (1997) No Wanna Duppys (1998) Re:PCS Customer submissions ? (1997) Comments in db? (1997) TPC Connect (1999)