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:

More Applescript (1997) bugs w/! &/or bad scripting??? (1997) Multiple Search Fields (1998) RE: Going to anchors within a template page (1997) Date sorting (1997) A dynamic database. (1997) Need help with emailer- 2 issues (1997) WC --> printer (1998) Date Help! (2003) Shopping cart not being assigned (1999) Ignoring [OrderFile] context (2005) WebCat editing, SiteGuard & SiteEdit (1997) Been meaning to ask... (1997) [WebDNA] Secure cookies (HttpOnly/Secure) (2013) Listfiles not listing mounted volume (2002) Add a field to the error log? (1997) WebCat2b13 Command Reference Doc error (1997) international time (1997) question: webmerchant connection (1997) log files (1998)