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 is going to be false no matter what, what's the point?You shouldn't have to do anything to have [taxtotal] and [taxrate] show up on your thank you page. Which makes me wonder if you're setting them to something meaningless with a [setheader] command...or perhaps you've added something to formulas.db that isn't quite kosher... -- Will Starck NovaDerm Product and Technical Support http://www.novaderm.com techs@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] >> >> > 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/ > > > ------------------------------------------------------------- > 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:

    
  1. Re: taxRate and grandTotal calculation is not showing up on myThankYou.tpl (Rob Marquardt 2000)
  2. Re: taxRate and grandTotal calculation is not showing up on (Will Starck 2000)
  3. Re: taxRate and grandTotal calculation is not showing up on myThankYou.tpl (Systems Admin 2000)
  4. Re: taxRate and grandTotal calculation is not showing up on my (Will Starck 2000)
  5. taxRate and grandTotal calculation is not showing up on my ThankYou.tpl (Systems Admin 2000)
> 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 is going to be false no matter what, what's the point?You shouldn't have to do anything to have [taxtotal] and [taxrate] show up on your thank you page. Which makes me wonder if you're setting them to something meaningless with a [setheader] command...or perhaps you've added something to formulas.db that isn't quite kosher... -- Will Starck NovaDerm Product and Technical Support http://www.novaderm.com techs@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] >> >> > 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/ > > > ------------------------------------------------------------- > 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

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

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...

Related Readings:

Logging purchases (1997) Change 2.0 to 2.1: Carts files not written to disk automatically (1998) [defined]ish (1997) WebCommerce: Folder organization ? (1997) what does [url] copy [/url] really do? (2000) Database not found in Include (2002) Help! WebCat2 bug (1997) shipCost not working v2.1b4 (1997) Spell Check (2005) includes and cart numbers (1997) HELP (2000) security problem (1997) WebCat2b15MacPlugin - [protect] (1997) passing search criteria (1997) First postarg not taking in $Commands (1997) getchars broken? (1997) Forum - Test Request (2005) numlineitems possible cache problem. (2000) WebCat b13 CGI -shownext- (1997) WebDNA 5.x Deployment? (2003)