Re: taxRate and grandTotal calculation is not showing up on
This WebDNA talk-list message is from
2000
It keeps the original formatting.
numero = 35363
interpreted = N
texte = > My math works.Not always, because it's incorrect.What you have parses out to OK=1 (test is false every time). If the test isgoing to be false no matter what, what's the point?You shouldn't have to do anything to have [taxtotal] and [taxrate] show upon your thank you page. Which makes me wonder if you're setting them tosomething meaningless with a [setheader] command...or perhaps you've addedsomething to formulas.db that isn't quite kosher...-- Will StarckNovaDerm Product and Technical Supporthttp://www.novaderm.comtechs@novaderm.com> > My math works. The total after tax and tax rate don't show up in the> ThankYou.tpl page.> I just want to know how to pass that info from my Invoice page to the Thank> You page.> > Chuck> > -----Original Message-----> From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On> Behalf Of Will Starck> Sent: Friday, July 28, 2000 12:53 PM> To: WebCatalog Talk> Subject: Re: taxRate and grandTotal calculation is not showing up on> myThankYou.tpl> > > I notice you're attempting to set cart headers for [taxrate] if the> following conditional is true> > [showif [math]OK[/math]=1]> > Shouldn't that read [showif [math][OK][/math]=1]> > ???> > > > --> Will Starck> NovaDerm Product and Technical Support> http://www.novaderm.com> techs@novaderm.com> >> From: Systems Admin >> Reply-To: (WebCatalog Talk)>> Date: Fri, 28 Jul 2000 12:07:41>> To: (WebCatalog Talk)>> Subject: taxRate and grandTotal calculation is not showing up on my>> ThankYou.tpl>> >> Can you help me?>> >> My formulas work fine and the taxRate and totals work fine and show up on>> the invoice page, however, the taxRate and grandTotal do not show up on> the>> ThankYou.tpl page.>> >> [math show=f]OK=1[/math] [showif [__name]=][math> show=f]OK=0[/math][/showif]>> [showif>> [__address]=][math show=f]OK=0[/math][/showif] [showif [__city]=][math>> show=f]OK=0[/math][/showif]>> [showif [__state]=][math show=f]OK=0[/math][/showif] [showif> [__zip]=][math>> show=f]OK=0[/math][/showif]>> [showif [__phone]=][math show=f]OK=0[/math][/showif] [showif>> [math]OK[/math]=0]>> Please go back and enter all the information requested. [/showif] [showif>> [math]OK[/math]=1]>> [showif [validcard accountNum=[convertchars>> db=CleanCard.db][__accountnum][/convertchars]&card=VISA+MC+AMEX]!T]>> [math show=f]OK=0[/math] The credit card number entered ([__accountNum])> is>> not>> valid. Check to make sure you did not mis-type any numbers or enter any>> extra>> characters. Please back up and re-enter the number again. [/showif]>> [/showif]>> [showif [math]OK[/math]=1] [orderfile cart=[cart]] [SetHeader>> cart=[cart]]TaxTotal=[taxTotal]payMethod=[showif>> [useAC]=T]AC[/showif][hideif [useAC]=T]CC[/hideif]&[formvariables>> name=__&exact=F][getchars>> start=3][name][/getchars]=[url][value][/url]&[/formvariables][/SetHeader]>> >> [lineItems]>>
>> >> >> You can see a live example of this by filling out a dummy order at the>> following address: http://www.metpromo.com/boc>> >> >> ------------------------------------------------------------->> 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/> > > -------------------------------------------------------------> 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/> > > -------------------------------------------------------------> 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/-------------------------------------------------------------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:
> My math works.Not always, because it's incorrect.What you have parses out to OK=1 (test is false every time). If the test isgoing to be false no matter what, what's the point?You shouldn't have to do anything to have [taxtotal] and [taxrate] show upon your thank you page. Which makes me wonder if you're setting them tosomething meaningless with a [setheader] command...or perhaps you've addedsomething to formulas.db that isn't quite kosher...-- Will StarckNovaDerm Product and Technical Supporthttp://www.novaderm.comtechs@novaderm.com> > My math works. The total after tax and tax rate don't show up in the> ThankYou.tpl page.> I just want to know how to pass that info from my Invoice page to the Thank> You page.> > Chuck> > -----Original Message-----> From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On> Behalf Of Will Starck> Sent: Friday, July 28, 2000 12:53 PM> To: WebCatalog Talk> Subject: Re: taxRate and grandTotal calculation is not showing up on> myThankYou.tpl> > > I notice you're attempting to set cart headers for [taxrate] if the> following conditional is true> > [showif [math]OK[/math]=1]> > Shouldn't that read [showif [math][OK][/math]=1]> > ???> > > > --> Will Starck> NovaDerm Product and Technical Support> http://www.novaderm.com> techs@novaderm.com> >> From: Systems Admin >> Reply-To: (WebCatalog Talk)>> Date: Fri, 28 Jul 2000 12:07:41>> To: (WebCatalog Talk)>> Subject: taxRate and grandTotal calculation is not showing up on my>> ThankYou.tpl>> >> Can you help me?>> >> My formulas work fine and the taxRate and totals work fine and show up on>> the invoice page, however, the taxRate and grandTotal do not show up on> the>> ThankYou.tpl page.>> >> [math show=f]OK=1[/math] [showif [__name]=][math> show=f]OK=0[/math][/showif]>> [showif>> [__address]=][math show=f]OK=0[/math][/showif] [showif [__city]=][math>> show=f]OK=0[/math][/showif]>> [showif [__state]=][math show=f]OK=0[/math][/showif] [showif> [__zip]=][math>> show=f]OK=0[/math][/showif]>> [showif [__phone]=][math show=f]OK=0[/math][/showif] [showif>> [math]OK[/math]=0]>> Please go back and enter all the information requested. [/showif] [showif>> [math]OK[/math]=1]>> [showif [validcard accountNum=[convertchars>> db=CleanCard.db][__accountnum][/convertchars]&card=VISA+MC+AMEX]!T]>> [math show=f]OK=0[/math] The credit card number entered ([__accountNum])> is>> not>> valid. Check to make sure you did not mis-type any numbers or enter any>> extra>> characters. Please back up and re-enter the number again. [/showif]>> [/showif]>> [showif [math]OK[/math]=1] [orderfile cart=[cart]] [SetHeader>> cart=[cart]]TaxTotal=[taxTotal]payMethod=[showif>> [useAC]=T]AC[/showif][hideif [useAC]=T]CC[/hideif]&[formvariables>> name=__&exact=F][getchars>> start=3][name][/getchars]=[url][value][/url]&[/formvariables][/SetHeader]>> >> [lineitems]>>
>> >> >> You can see a live example of this by filling out a dummy order at the>> following address: http://www.metpromo.com/boc>> >> >> ------------------------------------------------------------->> 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/> > > -------------------------------------------------------------> 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/> > > -------------------------------------------------------------> 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/-------------------------------------------------------------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/
Will Starck
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...