Re: Merging LineItems

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 54131
interpreted = N
texte = on 11/14/2003 3:18 pm, Clint Davis at cdavis@grayloon.com so noted... > I figuered it out, and it ain't pretty... >=20 > 1. Create a temporary database > 2. Search the database for current lineitem. > a. If it does NOT exist, add it. > b. If it DOES exist, add to the quantity. > 3. Remove all the lineitems from the cart. > 4. Search the database and add the lineitems back to the cart. > 5. Close the temporary database. > 6. Delete the temporary database. Ouch. I like the text variable consolidation method better. =A0 : D Rob Marquardt Designer/Resident Wirehead Toast Design 800 Washington Avenue North Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.com ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Merging LineItems ( Clint Davis 2003)
  2. Re: Merging LineItems ( Rob Marquardt 2003)
  3. Re: Merging LineItems ( Clint Davis 2003)
  4. Re: Merging LineItems ( Rob Marquardt 2003)
  5. Merging LineItems ( Clint Davis 2003)
on 11/14/2003 3:18 pm, Clint Davis at cdavis@grayloon.com so noted... > I figuered it out, and it ain't pretty... >=20 > 1. Create a temporary database > 2. Search the database for current lineitem. > a. If it does NOT exist, add it. > b. If it DOES exist, add to the quantity. > 3. Remove all the lineitems from the cart. > 4. Search the database and add the lineitems back to the cart. > 5. Close the temporary database. > 6. Delete the temporary database. Ouch. I like the text variable consolidation method better. =A0 : D Rob Marquardt Designer/Resident Wirehead Toast Design 800 Washington Avenue North Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.com ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Rob Marquardt

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:

A question on sub-categories (1997) counters from other site? (1998) WebDelivery downloads alias, not original ? (1997) Nesting format tags (1997) [sendmail] and [formvariables] (1997) customizing the color of user's pages (1997) Word search (1997) Encrypt/Decrypt (2007) Quit revisited (1997) Webcatalog and IIS4b2 (1997) Configuration Q (1998) [Fwd: Rotating Banners ... (was LinkExchange)] (1997) The beginning (1997) Email Formatting and Encryption (1998) using showpage and showcart commands (1996) multi-paragraph fields (1997) [lineitems] (2000) WebDNA still will not start on restart (2002) Ship via options price (2000) PCS Frames (1997)