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 descriptionfields. Therefore, it is impossible for me to search by the descriptionfield when inside of a shopping cart.Looking at the Programmer's Guide, it looks like the TextA field issomething that can be used to store descriptions. I'm not sure exactly howthis is accomplished.Anyone have sample code that will allow me to insert description fields intothe 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:
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 descriptionfields. Therefore, it is impossible for me to search by the descriptionfield when inside of a shopping cart.Looking at the Programmer's Guide, it looks like the TextA field issomething that can be used to store descriptions. I'm not sure exactly howthis is accomplished.Anyone have sample code that will allow me to insert description fields intothe 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)