Re: Reload of the shoppingcart.tmpl page
This WebDNA talk-list message is from 1999
It keeps the original formatting.
numero = 22896
interpreted = N
texte = >Using the template shopping cart, if I hit reload, I add a 2nd copy of>the same item that I have just placed into my shopping cart. Is there a>workaround for this problem? I belive it stems from the add command which>is caried in memory and on reload, executes each time...Some people want this; others don't. For instance, you can add 2 items ofthe same SKU, but of different colors.The solution is to check the items already in the cart using a [lineitems]loop, and to remove the duplicated item with [removelineitem]Technical Support | ==== eCommerce and Beyond ====Pacific Coast Software | WebCatalog, WebMerchant,11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,San Diego, CA 92128 | Typhoon619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/
Associated Messages, from the most recent to the oldest:
>Using the template shopping cart, if I hit reload, I add a 2nd copy of>the same item that I have just placed into my shopping cart. Is there a>workaround for this problem? I belive it stems from the add command which>is caried in memory and on reload, executes each time...Some people want this; others don't. For instance, you can add 2 items ofthe same SKU, but of different colors.The solution is to check the items already in the cart using a
[lineitems]loop, and to remove the duplicated item with
[removelineitem]Technical Support | ==== eCommerce and Beyond ====Pacific Coast Software | WebCatalog, WebMerchant,11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,San Diego, CA 92128 | Typhoon619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/
PCS Technical Support
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:
cart info (1998)
RE: Major Security Hole IIS NT (1998)
WebDelivery downloads alias, not original ? (1997)
Dealer Locator (zip codes) (2003)
Error upgrading to webDNA 5.1e (2003)
[WebDNA] Stop hacking (2013)
Help! WebCat2 bug (1997)
Other then credit cards-how? (1997)
Resume Catalog ? (1997)
Don't know if this is a sily question... (2003)
Re:listfiles-looking for slick solution (1997)
Weird Cookie Problem - your answer (2007)
EIMS Problems (1997)
SKU (1997)
OT - help with filemaker - short (1999)
Hosts who have upgraded to v5.0? (2003)
Running WebCat from a CD-ROM (1997)
Plugin or CGI or both (1997)
Sort Order on a page search (1997)
back one? (2000)