Re: Merging LineItems

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 54199
interpreted = N
texte = Rob, What does the mergeLineitems.db database contain? On 11/14/03 3:04 PM, "Rob Marquardt" wrote: > Something like this should do the trick. It does the consolidation, then > dumps the cart contents and adds the lineitems back in with the new > quantities. > > > [orderfile cart=[cart]][!] -- consolidate [/!] > [lineitems] > [text][sku]-[texte]=[math][text][sku]-[texte][/text]+[quantity][/math][/text > ] > [/lineitems] > [/orderfile] > > [clearlineitems cart=[cart]][!] -- dump [/!] > > [listvariables name=-&exact=F][!] -- reload [/!] > [listwords words=[name]&delimiters=-] > [text]var[index]=[word][/text] > [/listwords] > > [addlineitem > cart=[cart]&sku=[var1]&db=mergeLineitems.db]quantity=[value]&textE=[var2][/a > ddlineitem] > > [/listvariables] --------------------------------------------------------------------- Clint Davis Webmaster / Interactive Media Specialist Gray Loon Marketing Group, Inc. http://www.grayloon.com 204 Main Street | Evansville, IN 47708 | Phone:812-422-9999 --------------------------------------------------------------------- ------------------------------------------------------------- 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)
Rob, What does the mergeLineitems.db database contain? On 11/14/03 3:04 PM, "Rob Marquardt" wrote: > Something like this should do the trick. It does the consolidation, then > dumps the cart contents and adds the lineitems back in with the new > quantities. > > > [orderfile cart=[cart]][!] -- consolidate [/!] > [lineitems] > [text][sku]-[texte]=[math][text][sku]-[texte][/text]+[quantity][/math][/text > ] > [/lineitems] > [/orderfile] > > [clearlineitems cart=[cart]][!] -- dump [/!] > > [listvariables name=-&exact=F][!] -- reload [/!] > [listwords words=[name]&delimiters=-] > [text]var[index]=[word][/text] > [/listwords] > > [addlineitem > cart=[cart]&sku=[var1]&db=mergeLineitems.db]quantity=[value]&textE=[var2][/a > ddlineitem] > > [/listvariables] --------------------------------------------------------------------- Clint Davis Webmaster / Interactive Media Specialist Gray Loon Marketing Group, Inc. http://www.grayloon.com 204 Main Street | Evansville, IN 47708 | Phone:812-422-9999 --------------------------------------------------------------------- ------------------------------------------------------------- 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/ Clint Davis

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:

Upgrading old WebCat Database Files (1997) Emailer Timing out (1999) [WebDNA] Error 500 with SUMM=T (2017) RE:DatabaseHelper (1997) Re:Emailer Set Up (1997) Never ending problem.... (2000) switching users (1998) WebCat2b15MacPlugin - showing [math] (1997) instant cookies? (1999) hidden (phantom) file downloads (2000) WC1.6 to WC2 date formatting (1997) File not found error message (1998) Emailer Error: 158 (2003) how to kill webcat ? (2002) Sorting Orders (1997) For those of you not on the WebCatalog Beta... (1997) Is there an easier way? (1998) Disappearing HTML/WebDNA (1998) 5.0 Pricing (2003) CC Merchant suggestions?? (1997)