numero = 29350
interpreted = N
texte = As Ken is saying... Inv is not an orderfile variable so to get a value for Inv ithas to be coming from a database (and then you get it with a [lookup] or [search]), ora formvariable (do you pass it into ShoppingCart.tpl?), or a hand-set [math] or [text].How you are realizing a value for [Inv] on ShoppingCarts.tpl? Via one of the abovemethods?-JohnGlenn Busbin wrote:> on 03/19/00 8:47 PM, John Butler at john@feeling-goods.com wrote:>> > But you are> > missing the ¬Found=xxx in the [lookup]. maybe that is all it needs.>> I tried that, but got the same results.>> >You> > originally had the [replace] inside a [lineitems]?>> Yes. I also tried it outside a [lineitems] with just one item. Same results.>> > Make sure that all the variable> > values you think are available to you within the [replace] actually are> > available.>> Now this is a problem. The values for Inv are found on some pages, but not> on others even though they all use [lineitems].>> On the ShoppingCart.tpl page, everything, including the values for Inv,> display fine.>> [lineItems]>
> [/lineItems]>> ----------------------------------------> But on the Invoice.tpl page, everything EXCEPT the Inv values display ok. On> this page, all I get to appear is [Inv].>> [lineItems]>
> [/lineItems]>> ----------------------------------------> The same hold true on the ThankYou.tpl page. Everything displays properly> except the Inv value. All I get to appear is [Inv]. This is the page on> which I want to deduct ordered items from inventory.>> [lineItems]>
> [/lineItems]>> So what's the difference? Why is Inv found on one page, but not on others?>> > Do some simple tests with hard coded values then add variables back one at a> >time to see where it is breaking.>> I tried that, but since the field for Inv isn't found on some pages, I'm not> getting anything that will help solve the problem.>> This is a major roadblock. I'd appreciate any help I can get.>> Thanks,> Glenn>> -------------------------------------------------------------> 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 -------------------------------------------------------------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
Associated Messages, from the most recent to the oldest:
As Ken is saying... Inv is not an orderfile variable so to get a value for Inv ithas to be coming from a database (and then you get it with a [lookup] or [search]), ora formvariable (do you pass it into ShoppingCart.tpl?), or a hand-set [math] or [text].How you are realizing a value for [Inv] on ShoppingCarts.tpl? Via one of the abovemethods?-JohnGlenn Busbin wrote:> on 03/19/00 8:47 PM, John Butler at john@feeling-goods.com wrote:>> > But you are> > missing the ¬Found=xxx in the [lookup]. maybe that is all it needs.>> I tried that, but got the same results.>> >You> > originally had the [replace] inside a [lineitems]?>> Yes. I also tried it outside a [lineitems] with just one item. Same results.>> > Make sure that all the variable> > values you think are available to you within the [replace] actually are> > available.>> Now this is a problem. The values for Inv are found on some pages, but not> on others even though they all use [lineitems].>> On the ShoppingCart.tpl page, everything, including the values for Inv,> display fine.>> [lineitems]>
> [/lineItems]>> ----------------------------------------> But on the Invoice.tpl page, everything EXCEPT the Inv values display ok. On> this page, all I get to appear is [Inv].>> [lineitems]>
> [/lineItems]>> ----------------------------------------> The same hold true on the ThankYou.tpl page. Everything displays properly> except the Inv value. All I get to appear is [Inv]. This is the page on> which I want to deduct ordered items from inventory.>> [lineitems]>
> [/lineItems]>> So what's the difference? Why is Inv found on one page, but not on others?>> > Do some simple tests with hard coded values then add variables back one at a> >time to see where it is breaking.>> I tried that, but since the field for Inv isn't found on some pages, I'm not> getting anything that will help solve the problem.>> This is a major roadblock. I'd appreciate any help I can get.>> Thanks,> Glenn>> -------------------------------------------------------------> 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 -------------------------------------------------------------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 John Butler
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...