Re: Use of Back and Reload Buttons on ShoppingCart page?

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 12719
interpreted = N
texte = >1) Is there a way to provide a link back to the SearchResults page for >a customer on the ShoppingCart page?Sure. Use just like always. You might look at [referrer] also.>2) I've noticed that if I hit the Reload Button while looking at the >ShoppingCart page, the last item is added *again* to the cart. Any way >to avoid this?Not really. The $Add is built right into the URL, so when they reload they are telling WebCatalog to do it again. I suppose you could get real fancy and use WebDNA to check if the SKU for that product already exists in the lineitems, and then prevent the second $Add that way.Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors ===== Pacific Coast Software | WebCatalog Pro, WebCommerce Solution 11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Associated Messages, from the most recent to the oldest:

    
  1. Re: Use of Back and Reload Buttons on ShoppingCart page? (Grant Hulbert 1997)
  2. Use of Back and Reload Buttons on ShoppingCart page? (Dale Stokdyk 1997)
>1) Is there a way to provide a link back to the SearchResults page for >a customer on the ShoppingCart page?Sure. Use
just like always. You might look at [referrer] also.>2) I've noticed that if I hit the Reload Button while looking at the >ShoppingCart page, the last item is added *again* to the cart. Any way >to avoid this?Not really. The $Add is built right into the URL, so when they reload they are telling WebCatalog to do it again. I suppose you could get real fancy and use WebDNA to check if the SKU for that product already exists in the lineitems, and then prevent the second $Add that way.Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors ===== Pacific Coast Software | WebCatalog Pro, WebCommerce Solution 11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Grant Hulbert

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:

Which version to buy? (2000) Webmerchant (1999) Frames (1997) No spaces allowed in text variable names ... ? (2002) Setting up shop (1997) WC2f3 (1997) Re:Help name our technology! (1997) Secure server question (1997) Secure server question (1997) It just Does't add up!!! (1997) Support ?? (1997) Practical Uses (2003) form validator issue (2005) [WebDNA] Sorry WebDNA server not running (2015) [WebDNA] variable name limit - clarification (2009) [OT] Mac Browser Performance Tips (1999) Flash Stores (2003) [OT] DNS Problems (2004) Who is doing sign-ups-got it (1998) Emailer (WebCat2) (1997)