LineItem variable set
This WebDNA talk-list message is from 2007
It keeps the original formatting.
numero = 68878
interpreted = N
texte = I am trying to add a promotional item to the cart IF a line item descriptioncontains a certain word.For example, if a line item's description begins with the word "PROMO", thenI want to set a variable validitem to 't'.How do I do this?I thought this would work, but for some reason, it is not setting thevariable to t.[lineitems][showif [description]~PROMO] [text show=t]validitem=t[/text][/showif][/lineitems] -------------------------------------------------------------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:
I am trying to add a promotional item to the cart IF a line item descriptioncontains a certain word.For example, if a line item's description begins with the word "PROMO", thenI want to set a variable validitem to 't'.How do I do this?I thought this would work, but for some reason, it is not setting thevariable to t.[lineitems][showif [description]~PROMO] [text show=t]validitem=t[/text][/showif][/lineitems] -------------------------------------------------------------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/
Ki Song
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:
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
Another IfThenElse question.. (2003)
Introduction/Tutorial/QuickStart (1997)
Max Record length (1997)
Search 1 Field Twice? (2004)
alternatives for WebDNA (2004)
serial number generation (1997)
Pirated WebCat? NOT... (2003)
[WebDNA] WebDNA and macOS 10.4 Mojave - Operational? (2018)
Https not showing products (2004)
multi-paragraph fields (1997)
Creditcard verification with WebCat (1998)
RE: Credit card processing - UK (1997)
multi-paragraph fields (1997)
Re2: frames & carts (1997)
Quit revisited (1997)
6.1 Patch - Form Data Back Button Issue (2006)
Webcat2, WebCommerce, Mod 10 etc. (1997)
Developers in Washington State (2004)
mass mailing (1998)