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:

Field name-subcategory (1997) Kaaaaahhhhhhhnnnnnnn! (1997) Use WebCat to search files in a folder like a search engine? (2001) [username][password] not showing up! HELP! (1999) New Business Opportunity (2006) Shownext problems (1999) RE: Can a database get stomped by simultaneous access? (1997) Emailer (1997) Layers,Dreamweaver and WebCat Code (2000) Upgrading old WebCat Database Files (1997) [shownext max=?] armed (1997) Showif, Hideif reverse logic ? (1997) [SHOWIF] (1997) Signal Raised Error (1997) Setting up shop (1997) Sequential Code Logic (2003) How To question on setting up downloads (1997) Search in 2 or more catalogs (1997) how to know the [LineIndex] number webcat generated during a [AddLineItem]? (2000) New public beta available (1997)