and more [shipcost]....
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 38999
interpreted = N
texte = I went searching at the archive and I found this really good reply by JohnJakovich back in 1999-----------------------------------shipCost
[Include file=shipcost_formula.inc] Here's the code I used in my include file:[showif [shipvia]=UPSGround][showif [subTotal]<10.01]4.95[/showif][showif [subTotal]>10.00][showif [subTotal]<25.01]5.95[/showif][/showif][showif [subTotal]>25.00][showif [subTotal]<50.01]7.50[/showif][/showif][showif [subTotal]>50.00][showif [subTotal]<75.01]8.95[/showif][/showif][showif [subTotal]>75.00][showif [subTotal]<150.01]9.95[/showif][/showif][showif [subTotal]>150.00][math][subTotal]*.1[/math][/showif][/showif]--------------------------------This works great; however, I NOT only need to generate different pricesbased on the subtotal. there are two categories in the store: giftcertificates and photos that don't follow the formula above.Gift Certificates need to be free shippingand Photos only $1.95any help would be greatly appreciated.Please...........Art-------------------------------------------------------------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:
I went searching at the archive and I found this really good reply by JohnJakovich back in 1999-----------------------------------shipCost [Include file=shipcost_formula.inc] Here's the code I used in my include file:[showif [shipvia]=UPSGround][showif [subTotal]<10.01]4.95[/showif][showif [subTotal]>10.00][showif [subTotal]<25.01]5.95[/showif][/showif][showif [subTotal]>25.00][showif [subTotal]<50.01]7.50[/showif][/showif][showif [subTotal]>50.00][showif [subTotal]<75.01]8.95[/showif][/showif][showif [subTotal]>75.00][showif [subTotal]<150.01]9.95[/showif][/showif][showif [subTotal]>150.00][math][subTotal]*.1[/math][/showif][/showif]--------------------------------This works great; however, I NOT only need to generate different pricesbased on the subtotal. there are two categories in the store: giftcertificates and photos that don't follow the formula above.Gift Certificates need to be free shippingand Photos only $1.95any help would be greatly appreciated.Please...........Art-------------------------------------------------------------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/
Arturo Vargas
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:
enhanced ErrorMessages.db (2002)
Check boxes (1997)
2.0.1 new commands and contexts (1997)
cookies and [returnraw] (1997)
How do I get data out of an Orderfile... (2001)
Webcat 4.5.1 equivalent of autonumber (2003)
WebCatalog for Postcards ? (1997)
osx 10.3,webcat,permissions (2004)
Silence before the storm? (2004)
[WebDNA] El Capitan (2017)
Yet another db manager (2004)
WebCat2 several catalogs? (1997)
Re:quit command on NT (1997)
Empty Shopping Carts? (1998)
Cookies (2001)
Setting up shop (1997)
Running _every_ page through WebCat ? (1997)
automating txt downloads for conversion to webcat db (2006)
Summary layout (1997)
WC1.6 to WC2 date formatting (1997)