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:

Not really WebCat - need HTML Grider (1997) Re:2nd WebCatalog2 Feature Request (1996) WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997) [BoldWords] WebCat.acgib15Mac (1997) [WebDNA] [OT] Talk list (2009) Cookie Question (1999) Change in Host? (1999) Unable to append (2001) Almost a there but..bye bye NetCloak (1997) Execute Applescript (1997) Wow .. [OT] (2003) There's a bug in the math context ... (1997) [WebDNA] products.db (2013) find with exceptions (1997) PSC recommends what date format yr 2000??? (1997) RE: Languages (1997) in string ??? (2001) ConvertChars (2000) Last desperate attempt (1998) ShippingCosts Help Needed (1998)