Re: [shipCost] math formula?
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 14870
interpreted = N
texte = >What formula would be used to generate a [shipCost] of $5.00 if the>[subTotal] is under $50.00;>>and a [shipCost] of $0.00 if the [subTotal] is equal to or above $50.00?That's pretty straightforward...in fact, you can modify the example shipCost formula that is based on state, because it shows how to check the state. But in your case you would compare against the subtotal instead.[showif [subtotal]<50]5.00[/showif]0Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ====Pacific Coast Software | WebCatalog, WebMerchant,11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,San Diego, CA 92128 | Typhoon619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/
Associated Messages, from the most recent to the oldest:
| |
- Re: [shipCost] math formula? (Grant Hulbert 1997)
- [shipCost] math formula? (dwilfong@world-wide-art.com (David Wilfong) 1997)
|
>What formula would be used to generate a [shipCost] of $5.00 if the>[subTotal] is under $50.00;>>and a [shipCost] of $0.00 if the [subTotal] is equal to or above $50.00?That's pretty straightforward...in fact, you can modify the example shipCost formula that is based on state, because it shows how to check the state. But in your case you would compare against the subtotal instead.[showif [subtotal]<50]5.00[/showif]0Grant Hulbert, V.P. Engineering | ==== eCommerce for the Rest of Us ====Pacific Coast Software | WebCatalog, WebMerchant,11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,San Diego, CA 92128 | Typhoon619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/
Grant Hulbert
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:
[DOS]/DOS query perhaps OT (2003)
Roundup function? (1997)
# fields limited? (1997)
2.0 Info (1997)
2.0Beta Command Ref (can't find this instruction) (1997)
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
BR (1997)
Multiple catalog databases and showcart (1997)
Ken Grome (2006)
pc (1997)
Docs error: encrypting templates... (2000)
WebCat2b12 forgets serial # (1997)
Text data with spaces in them... (1997)
Not really WebCat (1997)
Multiple Ad databases? (1997)
Webcatalog error, Plug-in for Webstar (1996)
SendMail context not working on CentOS 4 (2007)
[WebDNA] feature requests (2008)
FYI: virus alert (1996)
Press Release hit the NewsWire!!! (1997)