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:
OT Cookie limit (2001)
Trouble with carts (2000)
RE: Error: template (1997)
WebDelivery downloads alias, not original ? (1997)
Install Webcatalog under NT4.0 and Microsoft IIS 2.0 (1997)
Help!!!! (1997)
WebCatalog [FoundItems] Problem - LONG - (1997)
Only charge card when product shipped ? (1997)
still facing truncated [texta] problem (2000)
[WebDNA] shopping sites and the "old commerce tags" (2012)
docs for WebCatalog2 (1997)
WC2b12: Yes, Formulas.db is for real (1997)
View order not right (1997)
[OT] Indexing of dynamic web sites (2003)
Searchable WebCat (etc.) Docs ? (1997)
New Plug-in and Type 11 errors (1997)
lookup problem (2000)
Code shows all, but should not (2003)
color (1999)
WebCat2b13MacPlugIn - More limits on [include] (1997)