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:

RE: Sorting error (1997) PIXO support (1997) Re:Finding max value for a field (1997) File not found error message (1998) ShowNext example for GeneralStore (1997) Great product and great job ! (1997) [delete] problem (1997) Help name our technology! I found it (1997) [WebDNA] Triggers.db wiped completely blank (2011) any suggestions for creating a multi-lingual site? (1999) RE: WebCat cannot handle compatible search parameters? (1997) WebMerchant when CC network is down (1998) color and size options / ARCHIVES (1997) Merging databases (1997) time and welcome (1999) Cookie and Domain Names (2005) [WebDNA] Some code inside a large loops fail ... but why? (2010) Credit card types (1997) Opinion: [input] should be called [output] ... (1997) [WebDNA] WebDNA 8.6 announced - New features (2018)