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:

RE: PIXO support (1997) Protecting webdelivery (1997) Searching for Nothing (1998) PIXO (1997) Emailer setup (1997) ODBC (2000) Q: old cart serial problem (2000) Listfiles (1998) WebCatalog 2.0 b 15 mac (1997) WebCat2b15MacPlugin - [protect] (1997) HELP WITH DATES (1997) problem with applets embedded in tpl files (1997) no global [username] or [password] displayed ... (1997) bull, f**k (1998) cybercash on OSX - was Executing remote AppleScript (2000) no global [username] or [password] displayed ... (1997) Add to Cart & List of Products (1997) Frames and cart values (1998) Moment of Thanks (1997) wrong authentication (1998)