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 shipping a package, then there's the added cost per item in that package. If you can ship one item for $6.00 and two for $6.30 and three for $6.60, then your overhead 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 item shipped by ground. The second formula does the same thing, but uses different 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.com with BODY unsubscribe WebDNA-Talk ------------------------------------ Associated Messages, from the most recent to the oldest:

    
  1. Re2: Calculating multiple shipping... (ben 1997)
  2. Re: Calculating multiple shipping... (Kenneth Grome 1997)
  3. Re: Calculating multiple shipping... (Grant Hulbert 1997)
  4. Calculating multiple shipping... (ben 1997)
>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 shipping a package, then there's the added cost per item in that package. If you can ship one item for $6.00 and two for $6.30 and three for $6.60, then your overhead 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 item shipped by ground. The second formula does the same thing, but uses different 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.com with BODY unsubscribe 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:

Question about searching combination of fields (2003) Trouble with carts (2000) Searching multiple fields (1997) emailer (1997) Secure Server not remembering discounts (1998) [ShowIf] and empty fields (1997) Include files (1998) Multiple fields on 1 input (1997) Ruby on Rails (was Looping Search) (2006) WebCat editing, SiteGuard & SiteEdit (1997) [OT] CSS and SSI books (2004) Lookup Notfound (1998) Not seeing cart info on Invoice.tmpl (was PROBLEM) (1997) Denying access by IP address (2000) Field name-subcategory (1997) ShowNext context limited to 500 hits? (2000) WebCatalog and Filemaker (1996) NT - Thanks and Taxes (1997) Duplicate Messages (1998) WebCat2 - [format thousands] (1997)