Re: Counting LineItems
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 32434
interpreted = N
texte = try that lookup like this-[lookupdb=discount.db&value=[header40]&lookInField=quant&returnField=discamnt¬Found=nope]You want to look in the quant field, not the [quant] field ... right?I have made that mistake many times ;-)HTH-Johnchas wrote:> Duly acknowledged! Thanks John..>> --- You wrote:> It may seem like alot, but try to read all the docs.> --- end of quote --->> So... I think I've got everything right> addlineitem displays, but still am having a difficulty getting the price lookup to fire.....>> Here is the addlineitem and where it lives on the template.> Am I not able to use the value of [header40] in the lookup?>> I have two db references... 1 for the regular product.db (required by addlineitem) and the discount.db lookup....>> .......> Your Order Number is #[cart]>> header40=[header40]>> [addlineitem cart=[cart]&sku=2168&db=products.db&]password=thepassword&textD=[URL]Fresh Discount[/URL]&quantity=1&price=[lookup db=discount.db&value=[header40]&lookInField=[quant]&returnField=discamnt¬Found=nope][/addlineitem]>>