setLineitem blues

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 33287
interpreted = N
texte = Can anyone see what I'm doing wrong here with this setlineitem below? Particularly the TextB? It appears to work when I load the page (invoice.tpl), because the [TextB] in the lineitems displays with the correct value. But when I view a vieworder.tpl page it does not display anything for [TextB]. If I open the order file after the purchase (or the same cart file before purchase) there is nothing listed in the line where TextB should be. TextA gets set, but not B.Why would the the TextB show in the table below if it does not actually get set in the shoppingcart file?( size[lineindex] is coming from a popup on the shopping cart page where the user selects a size range before hitting the invoice page below. )[lineItems] [SetLineItem cart=[cart]&index=[lineindex]&db=catalog.txt]quantity=[interpret][quantity[lineindex]][/interpret]&textA=[url][lookup db=catalog.txt&lookinfield=sku&value=[url][sku][/url]&returnfield=Title][/url]&TextB=[interpret][size[lineindex]][/interpret][/SetLineItem] [sku] [quantity] [TextB] [TextA] $[price] $[format .2f][math][quantity]*[price][/math][/format] [/lineItems]-- Robert Wade ======================= CABIN6 Design================================================ |[ //\ ||} || ||\| V| ================================================www.cabin6.com =============== robert@cabin6.com------------------------------------------------------------- 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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. setLineitem blues (Robert Wade 2000)
Can anyone see what I'm doing wrong here with this setlineitem below? Particularly the TextB? It appears to work when I load the page (invoice.tpl), because the [TextB] in the lineitems displays with the correct value. But when I view a vieworder.tpl page it does not display anything for [TextB]. If I open the order file after the purchase (or the same cart file before purchase) there is nothing listed in the line where TextB should be. TextA gets set, but not B.Why would the the TextB show in the table below if it does not actually get set in the shoppingcart file?( size[lineindex] is coming from a popup on the shopping cart page where the user selects a size range before hitting the invoice page below. )[lineitems] [SetLineItem cart=[cart]&index=[lineindex]&db=catalog.txt]quantity=[interpret][quantity[lineindex]][/interpret]&textA=[url][lookup db=catalog.txt&lookinfield=sku&value=[url][sku][/url]&returnfield=Title][/url]&TextB=[interpret][size[lineindex]][/interpret][/SetLineItem] [sku] [quantity] [TextB] [TextA] $[price] $[format .2f][math][quantity]*[price][/math][/format] [/lineItems]-- Robert Wade ======================= CABIN6 Design================================================ |[ //\ ||} || ||\| V| ================================================www.cabin6.com =============== robert@cabin6.com------------------------------------------------------------- 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://search.smithmicro.com/ Robert Wade

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:

Date format question (1998) WebCatalog can't find database (1997) shoppingcart reload qty (1997) CyberCash problem in OS9/4.5 -> OSX/5.1 transition (2003) MacActivity and PCS (1997) WebCat for mass emailings (1997) Mozilla/4. and Browser Info.txt (1997) Nested vs conditional (1997) WebCat2b13MacPlugIn - [shownext method=post] ??? (1997) Multiple prices (1997) Hiding HTML and breaking the page (1997) Corruption in images (2004) Three new problems, maybe a fourth (1997) session handling (2004) authenticating a second user, the sequel (1997) Browsername (1998) [WebDNA] WebDNA slow processing (2011) Setting up the server (1997) search for non-unique question (2001) URGENT: WebDNA Server Not Running (2003)