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:

No spaces allowed in text variable names ... ? (2002) Getting Emailer to send mail (1997) foreign character sets and conversions (1998) Public beta 5 of WebCatalog 4.0 is now available (2000) [TaxableTotal] - not working with AOL and IE (1997) [Protect] tag NOT working in 4.01 with Webstar 4.2 ! (2000) Anybody running directory indexer? (1998) [OT] Server For Sale (2003) webcat- multiple selection in input field (1997) WC1.6 to WC2 date formatting (1997) E-Mailer (WebCatb15acgiMac) (1997) Re1000001: Setting up shop (1997) Help! WebCat2 bug (Ben's input) (1997) [referrer] tag (1997) search question (2001) WebCat2 beta 11 - new prefs ... (1997) Separate SSL Server (1997) WebTen Memory Error with Plug-In (1998) Physical Security for WebCatalog Directories (1997) Webcat & MySQL Stored Procedures question -again (2005)