Re: ShippingCosts
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 19059
interpreted = N
texte = >For some reason, when I try to call the ShipCost from the formulas.db it>doesn't lookup correctly.>>The line from the formulas.db is:>>ShipCost [Math]5[ShowIf [SubTotal]>25]-5[/ShowIf][/Math]>>So in the final checkout, I do a simple [format .2f][ShipCost][/format] and>no matter what it shows up as 0.00. BTW, the above trick is from the WebCat>Archives and seemed to work for the gent that used it, but I must be>missing something.1- Is the lookup written properly?2- Does this ShipCost formula work? ...[Math]0[ShowIf [SubTotal]<25]+5[/ShowIf][/Math]Sincerely,Ken Grome808-737-6499WebDNA Solutionsmailto:ken@webdna.nethttp://www.webdna.net
Associated Messages, from the most recent to the oldest:
>For some reason, when I try to call the ShipCost from the
formulas.db it>doesn't lookup correctly.>>The line from the
formulas.db is:>>ShipCost
[math]5[ShowIf [SubTotal]>25]-5[/ShowIf][/Math]>>So in the final checkout, I do a simple [format .2f][ShipCost][/format] and>no matter what it shows up as 0.00. BTW, the above trick is from the WebCat>Archives and seemed to work for the gent that used it, but I must be>missing something.1- Is the lookup written properly?2- Does this ShipCost formula work? ...
[math]0[ShowIf [SubTotal]<25]+5[/ShowIf][/Math]Sincerely,Ken Grome808-737-6499WebDNA Solutionsmailto:ken@webdna.nethttp://www.webdna.net
Kenneth Grome
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:
OT: Just for a waste of time (2003)
Strange intermittent WebDNA problems (2008)
RE: Displaying Location (1997)
[WebDNA] agree? --> [url] broken inside [redirect], on a square-bracket-style include, included from a XML-style page (2009)
Sendmail html/text problem (2003)
[taxRate] [TaxTotal] ? (1997)
[WebDNA] [OT] iTools FTP question (2010)
Resume Catalog ? (1997)
ErrorMessages.db suggestion (1997)
taxRate is fine but taxTotal isn't (1997)
[WriteFile] problems (1997)
Date or time comparisons have bugs ... (1998)
[WebDNA] why this error when using [shownext] with a [table]? (2009)
WebCatalog for guestbook ? (1997)
Search/sort in URL Was: GuestBook example (1997)
Date format problems (1997)
RE: Can a database get stomped by simultaneous access? (1997)
Not seeing cart info on Invoice.tmpl (was PROBLEM) (1997)
Keep away (1997)
Pre-flight public flag (1997)