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 description contains a certain word. For example, if a line item's description begins with the word "PROMO", then I 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 the variable 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:

    
  1. Re: LineItem variable set ( Marc Thompson 2007)
  2. Re: LineItem variable set ( thierry 2007)
  3. Re: LineItem variable set ( Jim Ziegler 2007)
  4. Re: LineItem variable set ( Ki Song 2007)
  5. Re: LineItem variable set ( Marc Thompson 2007)
  6. Re: LineItem variable set ( Donovan Brooke 2007)
  7. Re: LineItem variable set ( Ki Song 2007)
  8. Re: LineItem variable set ( Marc Thompson 2007)
  9. Re: LineItem variable set ( Ki Song 2007)
  10. Re: LineItem variable set ( Marc Thompson 2007)
  11. Re: LineItem variable set ( Gary Krockover 2007)
  12. LineItem variable set ( Ki Song 2007)
I am trying to add a promotional item to the cart IF a line item description contains a certain word. For example, if a line item's description begins with the word "PROMO", then I 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 the variable 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)