Re: Reload adding to cart

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 39182
interpreted = N
texte = Thanks for your reply Maurice,however, I am not understanding what you are saying. What are you appending? I suppose I could append the html (results) page to hide that line of code then when someone goes to add another product from the list I would have to do yet another append or something.Can't seem to get my noggn' around this one. Some how I need to flush that (shop=add) or change the value after it has been passed to the page and before a person has a chance to reload.I'm suprised someone isn't writing back telling me what an idiot I am :-) because it seems like people would have run into this before.Here is the page in question: -Drop down to fasteners in the drop down search category list- http://216.81.241.229/proforms/results.html keep in mind this is in development and only has 3 items in the database currently..thanks. Maurice Rickard wrote:> 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/ > >-- Donovan D. Brooke Systems Administrator/ Assc. Art Director Epsen Hillmer GraphicsI know I'm making progress when I look at the questions I have asked in the past and think to myself... how stupid was that ------------------------------------------------------------- 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)
Thanks for your reply Maurice,however, I am not understanding what you are saying. What are you appending? I suppose I could append the html (results) page to hide that line of code then when someone goes to add another product from the list I would have to do yet another append or something.Can't seem to get my noggn' around this one. Some how I need to flush that (shop=add) or change the value after it has been passed to the page and before a person has a chance to reload.I'm suprised someone isn't writing back telling me what an idiot I am :-) because it seems like people would have run into this before.Here is the page in question: -Drop down to fasteners in the drop down search category list- http://216.81.241.229/proforms/results.html keep in mind this is in development and only has 3 items in the database currently..thanks. Maurice Rickard wrote:> 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/ > >-- Donovan D. Brooke Systems Administrator/ Assc. Art Director Epsen Hillmer GraphicsI know I'm making progress when I look at the questions I have asked in the past and think to myself... how stupid was that ------------------------------------------------------------- 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/ Donovan Brooke

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:

form data submission gets truncated (1997) [format xs] freeze (1997) errors 550, and 108 (1998) Document Contains No Data! (1997) Extended [ConvertChars] (1997) WebCatalog stalls (1998) WebDNA Commerce Single for MAC 6.0 (2008) webcat error log (1998) stuck time (1998) referrer & truncation (1998) WC2.0 Memory Requirements (1997) [Switch] - works great, suggestion (2000) WebCatalog Beta Documentation (1997) Netscape (1997) Don't know if this is a sily question... (2003) WebCommerce: Folder organization ? (1997) CSS positioning!!! (2001) [CART] inside a [LOOP] (1997) I try hard to think positively (1998) Authenticate (1999)