Re: Calculating multiple shipping...
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 10371
interpreted = N
texte = >How do I calculate shipping cost for quantities greater than 1 item?>>Example: Someone might order 3 Deelywoppers. The cost to ship 1>Deelywopper is $5. Each additional one is $.30. So the total ship cost is>$5.60. How do I get WebCatalog to calculate this for me?>In addition, if they want their Deelywoppers shipped by air then it is $7>for the first and $.80 for each additional. How do I do that?Here's how you can do both of them:[showif [shipType]=ground]shipcost=5.70+(.30*numberOrdered)[/showif][showif [shipType]=air]shipcost=6.20+(.80*numberOrdered)[/showif]The basic concept is that there's an overhead cost associated with shippinga package, then there's the added cost per item in that package. If you canship one item for $6.00 and two for $6.30 and three for $6.60, then youroverhead is $5.70 and the cost for each item shipped inside that package is$0.30.The first formula takes your overhead of $5.70 and adds $0.30 for each itemshipped by ground. The second formula does the same thing, but usesdifferent overhead and per unit values for air shipment.If the shopper chooses to ship by ground, only the first formula is used.If the shopper prefers air shipment, only the second formula is used.Sincerely,Ken------------------------------------To leave this talk list send an email to macjordomo@smithmicro.comwith BODYunsubscribe WebDNA-Talk------------------------------------
Associated Messages, from the most recent to the oldest:
>How do I calculate shipping cost for quantities greater than 1 item?>>Example: Someone might order 3 Deelywoppers. The cost to ship 1>Deelywopper is $5. Each additional one is $.30. So the total ship cost is>$5.60. How do I get WebCatalog to calculate this for me?>In addition, if they want their Deelywoppers shipped by air then it is $7>for the first and $.80 for each additional. How do I do that?Here's how you can do both of them:[showif [shipType]=ground]shipcost=5.70+(.30*numberOrdered)[/showif][showif [shipType]=air]shipcost=6.20+(.80*numberOrdered)[/showif]The basic concept is that there's an overhead cost associated with shippinga package, then there's the added cost per item in that package. If you canship one item for $6.00 and two for $6.30 and three for $6.60, then youroverhead is $5.70 and the cost for each item shipped inside that package is$0.30.The first formula takes your overhead of $5.70 and adds $0.30 for each itemshipped by ground. The second formula does the same thing, but usesdifferent overhead and per unit values for air shipment.If the shopper chooses to ship by ground, only the first formula is used.If the shopper prefers air shipment, only the second formula is used.Sincerely,Ken------------------------------------To leave this
Talk List send an email to macjordomo@smithmicro.comwith BODYunsubscribe WebDNA-Talk------------------------------------
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:
last Avery pdf question (2000)
RE: Discounting prices across a site (1997)
WebCat2b15MacPlugin - showing [math] (1997)
WebCat2 - [format thousands] (1997)
Country & Ship-to address & other fields ? (1997)
WebDNA for Dummies (2004)
Multiple Ad databases? (1997)
Wanted: More Math Functions (or, Can You Solve This?) (1997)
Signal Raised Error (Part III) (1997)
Cart questions (1997)
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
[OT] (waaaay OT) further off topic than before (2004)
Mozilla/4. and Browser Info.txt (1997)
still having shipCost.db Problem (1997)
Protect (1997)
Any Unix/Linux version to come? (1999)
(1997)
taxTotal, too (1997)
Setting up shop (1997)
code to phantom spacing (2001)