AddLineItem Problem
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 14092
interpreted = N
texte = Hi, I'm having a little trouble with AddLineItem. I've switched from $add to AddLineItem and it seems to work ok with adding only one item. (I used the [OrderFile] context to make the items appear.) When I add more than one item, I can't get the price of the second item. I tried assigning the price, but it wouldn't let me. I tried using the [lookup db=catalog.txt&lookInField=sku&value=[sku]&returnField=price] suggestion, and that prints the correct price, but it doesn't affect the subtotal. Someone recently refered to this same problem, and refered to having fixed it, but didn't say how.Phil MarshallSignal Advertising58 E State StreetMontpelier, VT 05602802-229-4149 http://www.signalz.comphil@signalz.com
Associated Messages, from the most recent to the oldest:
Hi, I'm having a little trouble with AddLineItem. I've switched from $add to AddLineItem and it seems to work ok with adding only one item. (I used the
[orderfile] context to make the items appear.) When I add more than one item, I can't get the price of the second item. I tried assigning the price, but it wouldn't let me. I tried using the [lookup db=catalog.txt&lookInField=sku&value=[sku]&returnField=price] suggestion, and that prints the correct price, but it doesn't affect the subtotal. Someone recently refered to this same problem, and refered to having fixed it, but didn't say how.Phil MarshallSignal Advertising58 E State StreetMontpelier, VT 05602802-229-4149 http://www.signalz.comphil@signalz.com
Phil Marshall
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:
problem with NT beta (1997)
includes (2003)
Help name our technology! I found it (1997)
Can I do these? (1997)
All questions are welcome on this list (1997)
Email within tmpl ? (1997)
Secure Sever and showcart errors (1997)
Pithy questions on webcommerce & siteedit (1997)
[WebDNA] SOAP support (2014)
SQL Query Question (2001)
TCPConnect is a problem for me (2002)
WebCat2b13MacPlugIn - More limits on [include] (1997)
WebCat2b13MacPlugIn - [include] (1997)
Before I Can Begin . . . (1998)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
Show if time tags (1997)
2.0 Beta (1997)
I've been thinking (2002)
Problems with [Applescript] (1997)
Don't know if this is a sily question... (2003)