numero = 29265
interpreted = N
texte = on 03/19/00 4:20 PM, John Butler at john@feeling-goods.com wrote:> Inv is missing a [> > should be-> &returnfield=[Inv]> > no?John,I think so. But adding the [ somehow stops anything on the page below thatcode from being processed. Even the html below that won't display after Iadded the [.In any event, the database field Inv is still not being adjusted.I moved the code to the very bottom of the ThankYou.tpl page so thateverything gets processed and displayed before the Replace kicks in, butthere's still no inventory adjustment.I also tried moving the code[Replace db=pol.db&eqSKUdatarq=[sku]]Inv=[math][lookupdb=pol.db&value=[sku]&lookinfield=sku&returnfield=[Inv]-[quantity][/math][/replace]from the ThankYou.tpl page to the Invoice.tpl page and inserted it asfollows:[Replace db=pol.db&eqSKUdatarq=[sku]]Inv=[math][lookupdb=pol.db&value=[sku]&lookinfield=sku&returnfield=[Inv]-[quantity][/math][/replace]I'd hoped that whenever the Submit Your Order button was hit, the Replacecontext would be activated. Everything seems to work OK, but the INV fieldis still not adjusted.Thanks for trying, though.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
Associated Messages, from the most recent to the oldest:
on 03/19/00 4:20 PM, John Butler at john@feeling-goods.com wrote:> Inv is missing a [> > should be-> &returnfield=[Inv]> > no?John,I think so. But adding the [ somehow stops anything on the page below thatcode from being processed. Even the html below that won't display after Iadded the [.In any event, the database field Inv is still not being adjusted.I moved the code to the very bottom of the ThankYou.tpl page so thateverything gets processed and displayed before the Replace kicks in, butthere's still no inventory adjustment.I also tried moving the code[Replace db=pol.db&eqSKUdatarq=[sku]]Inv=[math][lookupdb=pol.db&value=[sku]&lookinfield=sku&returnfield=[Inv]-[quantity][/math][/replace]from the ThankYou.tpl page to the Invoice.tpl page and inserted it asfollows:[Replace db=pol.db&eqSKUdatarq=[sku]]Inv=[math][lookupdb=pol.db&value=[sku]&lookinfield=sku&returnfield=[Inv]-[quantity][/math][/replace]I'd hoped that whenever the Submit Your Order button was hit, the Replacecontext would be activated. Everything seems to work OK, but the INV fieldis still not adjusted.Thanks for trying, though.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 Glenn Busbin
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...