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 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: same product in cart (Grant Hulbert 1997)
  2. same product in cart (Kevin Furuta 1997)
>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 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:

Hiding usernames and passwords in URL (1998) keep W* in front applescript? (1998) PLEASE REMOVE MY EMAIL ADDRESS (1997) Dumb Question about Docs (1997) [WebDNA] maybe silly suggestion? [founditems] (2015) F3 crashing server (1997) Error Lob.db records error message not name (1997) headers (2000) Subtotal Taxabletotal Grandtotal **CART** (2005) Email Format (Umlaut) (2004) WebCat2 - [format thousands] (1997) Protecting webdelivery (1997) Off Topic: Frames Killer? (1998) (1997) Email Line Breaks (2003) WebCat2 Append problem (B14Macacgi) (1997) READFILE command? (1998) Newspaper Portal (2005) More EudoraPro Email Options (1998) bug in [SendMail] (1997)