Re: LineItem variable set

This WebDNA talk-list message is from

2007


It keeps the original formatting.
numero = 68892
interpreted = N
texte = Marc, I tried the code below, but it is still not working. > > [lineitems] > [text]description=[LOOKUP > db=databasePath&value=[sku]&lookInField=sku&returnField=description¬Found=] > [/text] > > [showif [description]~PROMO] > [text show=t]validitem=t[/text] > [/showif] > > [/lineitems] The issue is this: WebDNA shopping carts do not normally store description fields. Therefore, it is impossible for me to search by the description field when inside of a shopping cart. Looking at the Programmer's Guide, it looks like the TextA field is something that can be used to store descriptions. I'm not sure exactly how this is accomplished. Anyone have sample code that will allow me to insert description fields into the shopping cart's TextA field? ------------------------------------------------------------- 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)
Marc, I tried the code below, but it is still not working. > > [lineitems] > [text]description=[LOOKUP > db=databasePath&value=[sku]&lookInField=sku&returnField=description¬Found=] > [/text] > > [showif [description]~PROMO] > [text show=t]validitem=t[/text] > [/showif] > > [/lineitems] The issue is this: WebDNA shopping carts do not normally store description fields. Therefore, it is impossible for me to search by the description field when inside of a shopping cart. Looking at the Programmer's Guide, it looks like the TextA field is something that can be used to store descriptions. I'm not sure exactly how this is accomplished. Anyone have sample code that will allow me to insert description fields into the shopping cart's TextA field? ------------------------------------------------------------- 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:

Enhanced Master Counter? (1997) WebCat2: Items xx to xx shown, etc. (1997) GetWords (2004) Custom WebCat Prefs ... (1997) Summing fields (1997) Intermitent problem using [referrer] (1997) WebCommerce: Folder organization ? (1997) Frames and WebCat (1997) about this server and links to who (1997) RE: New WebCatalog Version !!! (1997) Error -108 (1997) Updating Prices in Online Database (1999) Hiding HTML and breaking the page (1997) Here's how to kill a Butler Database. (1997) [WebDNA] unix timestamp in WebDNA (2009) Online reference (1997) A question about security (1998) FEW QUESTIONS (1997) Browser Caching (2003) japanese characters (1997)