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:
Latin Characters (1998)
WebCat2b12--[searchstring] bug (1997)
search for all (1998)
problem: type 2 errors (1997)
japanese characters (1997)
Error: Missing c in orderfile???? (2005)
Calender code (2005)
Register First (2000)
Big Databases (1997)
Server slowing down. (1997)
no global [username] or [password] displayed ... (1997)
More on the email templates (1997)
What about that Cc and Bcc bug? (2000)
IPADDRESS mystery (2003)
Location of Browser Info.txt file (1997)
'does not contain' operator needed ... (1997)
[WebDNA] Domain names and ports per license (2012)
NetForms for email (1998)
email and W* 4.x (2000)
[ot] Any One Want A WebDNA Billing Program? (2003)