Re: Reload adding to cart

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 39175
interpreted = N
texte = At 12:39 PM 10/9/01, Donovan Brooke wrote: > if someone adds something to the cart, then >does a reload/refresh, then that item is added once more. (and so on) > >How do people get around this?I use the form-based method, without any cart commands in the form. Instead, I use a context-based append. The advantage of that is I can look in the cart first to see if this customer's added this item before, and I can then either hide the append context, or I can increment the quantity of the lineitem (whatever the agreed on interface policy might be in a case like this).I don't know if other people are using other ways around this, but it'd be interesting to hear.-- Maurice Rickard http://mauricerickard.com/------------------------------------------------------------- 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 Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Reload adding to cart (Donovan Brooke 2001)
  2. Re: Reload adding to cart (Maurice Rickard 2001)
  3. Re: Reload adding to cart (Donovan Brooke 2001)
  4. Re: Reload adding to cart (John Peacock 2001)
  5. Re: Reload adding to cart (Donovan Brooke 2001)
  6. Re: Reload adding to cart (Donovan Brooke 2001)
  7. Re: Reload adding to cart (John Peacock 2001)
  8. Re: Reload adding to cart (Donovan Brooke 2001)
  9. Re: Reload adding to cart (Donovan Brooke 2001)
  10. Re: Reload adding to cart (Maurice Rickard 2001)
  11. Reload adding to cart (Donovan Brooke 2001)
At 12:39 PM 10/9/01, Donovan Brooke wrote: > if someone adds something to the cart, then >does a reload/refresh, then that item is added once more. (and so on) > >How do people get around this?I use the form-based method, without any cart commands in the form. Instead, I use a context-based append. The advantage of that is I can look in the cart first to see if this customer's added this item before, and I can then either hide the append context, or I can increment the quantity of the lineitem (whatever the agreed on interface policy might be in a case like this).I don't know if other people are using other ways around this, but it'd be interesting to hear.-- Maurice Rickard http://mauricerickard.com/------------------------------------------------------------- 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 Web Archive of this list is at: http://search.smithmicro.com/ Maurice Rickard

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:

Search wbrk word break param (1998) off topic - dna snipets (1997) WebCatalog and Bar Code Scanners (1999) unitshipcost vs shipcosts (1997) WebCat2 Append problem (B14Macacgi) (1997) Multiple transactions per cart (2000) WebCat2b15MacPlugIn - [authenticate] not [protect] (1997) [format xs] freeze (1997) Lost Field (1998) [WebDNA] showif with empty variable (2015) [WebDNA] Innovative Merchant Solutions (2008) [writefile]? (2001) WebCat editing, SiteGuard & SiteEdit (1997) Frames (1997) List Address Changed! (1998) WCS Newbie question (1997) Summ=T Problem (1997) Am I going senile? (Price recalc based on quantity) (1997) Progress !! WAS: Trouble with formula.db (1997) Gathering the values of matching fields in a database. (1998)