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 DavisWebmaster / Interactive Media SpecialistGray Loon Marketing Group, Inc. http://www.grayloon.com204 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:
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 DavisWebmaster / Interactive Media SpecialistGray Loon Marketing Group, Inc. http://www.grayloon.com204 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:
PIXO with cometsite ... and/or other plugins (1998)
sendmail spaces (1997)
Field name-subcategory (1997)
Limit on nested [ShowIf]'s? (1997)
WebCatalog for Postcards ? (1997)
SKU lookup (1997)
Payment Processors (2005)
vcode (2003)
[WebDNA] Format Days_To_Date (2008)
Ok here is a question? (1997)
WebCatalog 2.0 b 15 mac (1997)
Exclamation point (1997)
Deleteing Based On Dates (2002)
PCS Frames (1997)
Re1000001: Setting up shop (1997)
[WebDNA] Secure Cookies (2009)
convert characters (2003)
faxing orders (2000)
date formatting for CC card expiration date check (1998)
Form based Redirect (2001)