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 Solution11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMasterSan Diego, CA 92128 | SiteGuard619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com
Associated Messages, from the most recent to the oldest:
>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 Solution11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMasterSan Diego, CA 92128 | SiteGuard619/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:
Why WebMerchant not working? (1999)
PCS Frames (1997)
Connection count (2005)
Preventing Merchant Settling ? (1997)
Database Repopulation (2004)
Duplicate Carts (2000)
OT : Site speed feedback (2002)
generating a space delimited file (2001)
no global [username] or [password] displayed ... (1997)
[Sum] function? (1997)
[decrypt seed=seed][getchars (1999)
View order not right (1997)
WebDNA-Talk Digests (1997)
Playin Tricks (2006)
WebCommerce: Folder organization ? (1997)
Harvesting invalid email addresses from bounced emails??? (2000)
AutoCommit Preference? (1998)
Problem displaying search result (1997)
How is it done? (1998)
Problem with [Search] inside of [Loop]? (1997)