Re: same product in cart
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 12919
interpreted = N
texte = >When a user clicks on a product and adds it the cart, then goes back to the>store and clicks on the same product, the product will appear twice in the>cart.This is a good thing for many sites: if you buy a pair of tennis shoes that are red and another pair that are green, you should be allowed to do this.If you like, you can put some WebDNA near the top of your shopping cart template that loops thru the lineitems and compares them against the incoming sku, the display a message and do a [removelineitem] to suck it back out of the lineitems.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:
>When a user clicks on a product and adds it the cart, then goes back to the>store and clicks on the same product, the product will appear twice in the>cart.This is a good thing for many sites: if you buy a pair of tennis shoes that are red and another pair that are green, you should be allowed to do this.If you like, you can put some WebDNA near the top of your shopping cart template that loops thru the lineitems and compares them against the incoming sku, the display a message and do a
[removelineitem] to suck it back out of the lineitems.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:
[WriteFile] problems (1997)
Comments in db? (1997)
re: keep W* in front applescript? (try Cron) (1998)
Page Counters? (1997)
[OT] Need help from Javascript Gurus (2006)
[SearchString] usage (1997)
[WriteFile] problems (1997)
[WebDNA] A new popuated field to a DB with 700.000 records (2009)
[Webcat 2]Next (1997)
Sku numbers (1997)
Sort Order on a page search (1997)
default error on NT? (1997)
HomePage Caution (1997)
Hard Questions ? (1997)
Price setting question (1998)
double lines in sendmail (2008)
Sendmail & Time Issue (2001)
4.5.1 for OSX (2003)
Updating Prices in Online Database (1999)
Email within tmpl ? (1997)