Re: taxRate and grandTotal calculation is not showing up on my
This WebDNA talk-list message is from
2000
It keeps the original formatting.
numero = 35348
interpreted = N
texte = I notice you're attempting to set cart headers for [taxrate] if thefollowing conditional is true[showif [math]OK[/math]=1]Shouldn't that read [showif [math][OK][/math]=1]???-- Will StarckNovaDerm Product and Technical Supporthttp://www.novaderm.comtechs@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]>
>
size=2>> > [lineindex]
>
size=2>[quantity]
>
size=2>[sku]
>
size=2>[textA]
>
size=2>$[price]
>
size=2>$[math][quantity]*[price][/math]
>
> [/lineItems]>
>
size=2>Subtotal
>
size=2>$[subTotal]
>
>
>
size=2>[ShipTostate]> Tax Rate: [taxRate] % Tax
>
size=2>$[taxTotal]
>
>
>
size=2>[shipVia]> Shipping & Handling
>
size=2>$[shipCost]
>
>
>
size=2>Grand> Total
>
size=2>$[grandTotal]
>
> > > 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/
Associated Messages, from the most recent to the oldest:
I notice you're attempting to set cart headers for [taxrate] if thefollowing conditional is true[showif [math]OK[/math]=1]Shouldn't that read [showif [math][OK][/math]=1]???-- Will StarckNovaDerm Product and Technical Supporthttp://www.novaderm.comtechs@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/
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...