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 Advertising 58 E State Street Montpelier, VT 05602 802-229-4149 http://www.signalz.com phil@signalz.com Associated Messages, from the most recent to the oldest:

    
  1. Re: AddLineItem Problem (Grant Hulbert 1997)
  2. AddLineItem Problem (Phil Marshall 1997)
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 Advertising 58 E State Street Montpelier, VT 05602 802-229-4149 http://www.signalz.com phil@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:

Make sure I understand this??? (1997) variables in [addlineitem] (1998) WebMerchant problems (2000) Removing [showif] makes a big difference in speed (1997) Need help with emailer- 2 issues (1997) Can I do these? (1997) [addlineitems] (1997) Re:Dumb Question about Docs (1997) Math Enhancement Request (2004) Quest renew freware program for FunnelWeb! (2006) Math variable size-dumb question (1999) Credit card processing - UK (1997) Math (1997) IIS4/WebCat3.0 Authentication (1999) NetSplat and WebCat2 (1997) Duplicates (1998) Newbie questions (2000) RE: Need Help (1998) WebSTAR 2.1 freezes my Mac (1997) WebCat2 beta 11 - new prefs ... (1997)