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:
Setting up shop (1997)
WebCat2b15MacPlugin - showing [math] (1997)
createfolder not behaving as expected (1999)
[writefile] (1997)
MultiGroupChecker (2000)
WebCat2b13MacPlugin - [math][date][/math] problem (1997)
Time Until (1999)
webcat (2000)
raw=T is broken in [include] (1997)
WebCat and AppleShare 6.0 (1998)
PROBLEMS WITH PROTECT TAG (2004)
WebCatalog [FoundItems] Problem - AGAIN - (1997)
log files (1998)
WebCat for Site Search? (1997)
emailer error -108 (1997)
Location of Browser Info.txt file (1997)
ANother SHOWIF problem (1997)
Database field limit? (1998)
emailer error -108 (1997)
emailer (1998)