shipping & multiple comparisons?
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 32741
interpreted = N
texte = trying to get the following to work as replacement for[grandtotal]. [ship] is [text]ship=[math]0[lineitems]+[quantity][/lineitems][/math][/text]which works great:[showif [ship]<3][math][subtotal]+4.50[/math][/showif][showif [ship]^3,4,5][math][subtotal]+6.00][/math][/showif][showif [ship]>5][math][subtotal]*.15[/math][/showif]<3 and >5 works fine obviously, but I'm having trouble withmultiple comparisons ala the middle one... I also triedsplitting them up like:[showif [ship]=3][math][subtotal]+6.00][/math][/showif][showif [ship]=4][math][subtotal]+6.00][/math][/showif][showif [ship]=5][math][subtotal]+6.00][/math][/showif]but that just displays 0 for some reason... I'm close, butwhat do I need to get that 3-5 to work at $6.00?? Thanks andforgive if this is obvious.. I couldn't find what I need inthe list archives or docs yet on inclusive comparisons etc.-------------------------------------------------------------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:
trying to get the following to work as replacement for[grandtotal]. [ship] is [text]ship=[math]0[lineitems]+[quantity][/lineitems][/math][/text]which works great:[showif [ship]<3][math][subtotal]+4.50[/math][/showif][showif [ship]^3,4,5][math][subtotal]+6.00][/math][/showif][showif [ship]>5][math][subtotal]*.15[/math][/showif]<3 and >5 works fine obviously, but I'm having trouble withmultiple comparisons ala the middle one... I also triedsplitting them up like:[showif [ship]=3][math][subtotal]+6.00][/math][/showif][showif [ship]=4][math][subtotal]+6.00][/math][/showif][showif [ship]=5][math][subtotal]+6.00][/math][/showif]but that just displays 0 for some reason... I'm close, butwhat do I need to get that 3-5 to work at $6.00?? Thanks andforgive if this is obvious.. I couldn't find what I need inthe list archives or docs yet on inclusive comparisons etc.-------------------------------------------------------------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/
Parker
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:
Re:2nd WebCatalog2 Feature Request (1996)
price change help (1998)
Running webdna on centos 4.2? (2006)
Getting total number of items ordered (1997)
WebCatalog for guestbook ? (1997)
WebCat2b13MacPlugIn - [include] (1997)
Robots fill event log (1997)
Emailer problem with WC 2.1, NT, WebSite 2.1 (1998)
Search wbrk word break param (1998)
[BULK] [WebDNA] [BULK] [middle] behavior (2020)
Help!!!! (1999)
Re: (1998)
Limit on nested [ShowIf]'s? (1997)
Looking up two prices in Formulas.db (1997)
WebCat2b15MacPlugin - showing [math] (1997)
WebCat2b12 CGI Mac - [shownext] problem (1997)
Only charge card when product shipped ? (1997)
MY SOLUTION.... Send massmail (2000)
Alternating BGColors in Table Rows (1998)
PIXO Support (1997)