Re: Counting LineItems
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 32405
interpreted = N
texte = thanks - that makes sense..--- You wrote:[addlineitem cart=[cart]&sku=2168]quantity=1&price=[lookup db=discount.db&lookInField=[quant]&value=[header40]&returnField=discamnt¬Found=0][/addlineitem]--- end of quote ---Still can't get the [addlineitem] to fire... That is to actually display a new lineitem in the CARThere is what I have.....[addlineitem cart=[cart]&sku=2168&db=products.db]quantity=1&price=[lookup db=discount.db&lookInField=[quant]&value=[header40]&returnField=discamnt¬Found=0][/addlineitem]When I put it up top of the template before the [SetHeader] and [Lineitems] contexts get Error:you are not allowed to change the priceWhen I put it below [Lineitems]... I breaks the page and not tables below the sku, desc, price, extension show...here is my code (dept of redundancy dept.)
Invoice[include file=Fresh_Header.inc][orderfile cart=[cart]][SetHeader cart=[cart]]shipVia=[url][__shipVia][/url]&CartIPAddress=[ipAddress][/SetHeader][lineitems][SetLineItem cart=[cart]&index=[lineindex]]quantity=[interpret][quantity[lineindex]][/interpret]&textA=[url][lookup db=products.db&lookinfield=sku&value=[url][sku][/url]&returnfield=CDTitle][/url]&textB=[url][lookup db=products.db&lookinfield=sku&value=[url][sku][/url]&returnfield=Type][/url]&textC=[url][lookup db=products.db&lookinfield=sku&value=[url][sku][/url]&returnfield=Tag Line][/url][/SetLineItem][/lineitems]header40=[header40]
Final Invoice
[
Change Quantities or Shipping |
Shop Some More ]
Your Final Invoice Contains the Following Items
Your Order Number is #[cart]
[/orderfile]