Re: Forumulas.db & Variables
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 45889
interpreted = N
texte = Jesse,I've never had too many problems with taxrate before so I'mnot 100 percent sure here. My guess is that whenyou add items to the cart that WebCat is looking at each itemand noting first if it is taxable and second, (if it is taxable) what thetaxrate is for it....In your situation, your taxrate is 0 because you haven't setthe [state] variable yet (before an item is added). The fact thattaxtotal is calculated each time an orderfile context is encountered,might not mean that the taxrate for each item is recalculated.This is my theory and I'm stickn' to it. ;-)I might be entirely wront but try putting this before the addlineitem and see ifyour taxtotal works.[setheader cart=[cart]]state=WA[/seatheader]g.luck,DonovanJesse Williams-Proudman wrote:> On 12/2/02 11:09 AM, Donovan
wrote:>> > Did you have a TaxableT in your formulas.db?>> Yes>> ---- ------------------------------------------------------------------------ ------------------------------------------------------------------------<><> Donovan Brooke <><>->ï ------------------------------------------------------------------------ -------------------------------------------------------------------------------------------------------------------------------------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://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Jesse,I've never had too many problems with taxrate before so I'mnot 100 percent sure here. My guess is that whenyou add items to the cart that WebCat is looking at each itemand noting first if it is taxable and second, (if it is taxable) what thetaxrate is for it....In your situation, your taxrate is 0 because you haven't setthe [state] variable yet (before an item is added). The fact thattaxtotal is calculated each time an orderfile context is encountered,might not mean that the taxrate for each item is recalculated.This is my theory and I'm stickn' to it. ;-)I might be entirely wront but try putting this before the addlineitem and see ifyour taxtotal works.[setheader cart=[cart]]state=WA[/seatheader]g.luck,DonovanJesse Williams-Proudman wrote:> On 12/2/02 11:09 AM, Donovan wrote:>> > Did you have a TaxableT in your formulas.db?>> Yes>> ---- ------------------------------------------------------------------------ ------------------------------------------------------------------------<><> Donovan Brooke <><>->ï ------------------------------------------------------------------------ -------------------------------------------------------------------------------------------------------------------------------------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://webdna.smithmicro.com/
Donovan
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:
Dates and Math - Simple Subtraction (2004)
docs for WebCatalog2 (1997)
[lookup] speed sales pitch (2003)
Not really WebCat- (1997)
RE: [WebDNA] smtp authentication (2008)
[WebDNA] WebDNA Health Monitor (2014)
WebCatalog2 Feature Feedback (1996)
Passing values - never mind (1999)
New Site WebCat (1997)
[WebDNA] [OT] DNS Services (2010)
WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997)
[OT], Sorta: WebCat-Talk List (2000)
Search inside Include (1998)
[WriteFile] problems (1997)
Sorting error (1997)
[WebDNA] Admin Login Required to Serve any TPL Page (2009)
Pls Remove me from all Lists (1998)
[WebDNA] Webdna and CMS (2012)
Cart creation techniques (was Problems with Price field) (1997)
3.0 [TEXT] variables (1998)