Duplicate Items in the Cart

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 16492
interpreted = N
texte = Hi List,I have a client that is complaining, that if he adds a item to a cart then goes back to the selection page and adds the the same item again, he ends up with the item duplicated in the shopping cart page, rather than just having the item listed only once with the quantity set at two. I realize that the problem is that the cart is a text file, and appending the same item twice will generate two lineitems. However I thought maybe someone has a workaround for this situation. Any ideas and suggestion will be greatly appreciated.Thanks, Jose A. Gordo ----------------------------------------------------- The International Website Construction Co. http://www.iwcc.com/Miami --- Sao Paulo --- Buenos Aires --- Lima Web Advertising and Design for the Latin American Market voice: (305) 461-4949 156 Almeria Ave. Coral Gables, FL 33134, USA ----------------------------------------------------- Associated Messages, from the most recent to the oldest:

    
  1. Re: Duplicate Items in the Cart (Michael Winston 1998)
  2. Re: Duplicate Items in the Cart (Paul Willis 1998)
  3. Re: Duplicate Items in the Cart (Grant Hulbert 1998)
  4. Duplicate Items in the Cart (Jose A. Gordo 1998)
Hi List,I have a client that is complaining, that if he adds a item to a cart then goes back to the selection page and adds the the same item again, he ends up with the item duplicated in the shopping cart page, rather than just having the item listed only once with the quantity set at two. I realize that the problem is that the cart is a text file, and appending the same item twice will generate two lineitems. However I thought maybe someone has a workaround for this situation. Any ideas and suggestion will be greatly appreciated.Thanks, Jose A. Gordo ----------------------------------------------------- The International Website Construction Co. http://www.iwcc.com/Miami --- Sao Paulo --- Buenos Aires --- Lima Web Advertising and Design for the Latin American Market voice: (305) 461-4949 156 Almeria Ave. Coral Gables, FL 33134, USA ----------------------------------------------------- Jose A. Gordo

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:

Date Sorting (1997) FlushDatabase Suggestion (1998) Online reference (1997) Shopping Cart Limits? (1998) WebCat Admin access w/ClearlyHome p.i. (1997) No luck with taxes (1997) Help! WebCatalog not writing dbs to disk (2001) PSC recommends what date format yr 2000??? (1997) Grepping to remove text & code (2004) Sort Order on a page search (1997) Tricky Products Page (2002) Re:Emailer setup (1997) carriage returns in data (1997) SKU lookup (1997) transferring values (1998) Re:no [search] with NT (1997) Kaaaaahhhhhhhnnnnnnn! (1997) [format 40s]text[/format] doesn't work (1997) Running WebCat from a CD-ROM (1997) 404 error page issue (2006)