Custom Shipping Charges

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 10794
interpreted = N
texte = OK, I've got another person asking about calculating shipping charges. I'm forwarding the message to this list so we can all see the solutions.>How do we figure out the cost for the box which is surcharged to the first item in the order? > >example: > >Item 1 .5lbs (Charge them 2.00 for the box, and accumulate the weight >item 2..2lbs (accumulate the weight) > >total (.7lbs + .1 for the box) = shipping cost + 2.00 for the box + 50% markupThis actually fits our original model (1.6.1) much better, where there is some kind of base charge + per item charge. So in this case, you would simply put a hidden field on the shopping cart form with shipCost=2.00 to account for the initial handling charges, and then set a unitShipCost in the product database which tells it how much a single unit will cost to ship.No need for formulas in this case unless you want to get tricky with different shipping methods.shipCost = 2.00 (hidden field on invoice form) Item 1 .5lbs = 1.75 (unitShipCost field in database) Item 2 .2lbs = 0.75WebCatalog automatically adds the base shipCost to the unitShipCost*quantity in this case.Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors ===== Pacific Coast Software | WebCatalog Pro, WebCommerce Solution 11770 Bernardo Plaza Court, #462 | SiteEdit Pro, SiteCheck, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Associated Messages, from the most recent to the oldest:

    
  1. Custom Shipping Charges (Grant Hulbert 1997)
OK, I've got another person asking about calculating shipping charges. I'm forwarding the message to this list so we can all see the solutions.>How do we figure out the cost for the box which is surcharged to the first item in the order? > >example: > >Item 1 .5lbs (Charge them 2.00 for the box, and accumulate the weight >item 2..2lbs (accumulate the weight) > >total (.7lbs + .1 for the box) = shipping cost + 2.00 for the box + 50% markupThis actually fits our original model (1.6.1) much better, where there is some kind of base charge + per item charge. So in this case, you would simply put a hidden field on the shopping cart form with shipCost=2.00 to account for the initial handling charges, and then set a unitShipCost in the product database which tells it how much a single unit will cost to ship.No need for formulas in this case unless you want to get tricky with different shipping methods.shipCost = 2.00 (hidden field on invoice form) Item 1 .5lbs = 1.75 (unitShipCost field in database) Item 2 .2lbs = 0.75WebCatalog automatically adds the base shipCost to the unitShipCost*quantity in this case.Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors ===== Pacific Coast Software | WebCatalog Pro, WebCommerce Solution 11770 Bernardo Plaza Court, #462 | SiteEdit Pro, SiteCheck, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Grant Hulbert

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:

Symantec VIsual Page 1.0.3 (1997) webcat method for waiting specific amount of time? (2000) SQL, ODBC and MySql (2002) [WebDNA] Error: Invalid JPEG file (2011) HELP - NONE STOP DIGESTS. Digest for 4/24/97) (1997) NY taxRates.db? (1997) Credit Card Checksum (1997) Setting a text Var inside an orderfile (2002) ODBC and WebCatalog on Solaris and talking to a Sybase database (2001) SMSI - MacWorld (2005) passing search criteria (1997) [taxrate] question (1997) WebCat2: Master Counter snippet (1997) [WebDNA] An actual attempt to get WebDNA and MAMP Pro to work - (2018) I'm new be kind (1997) Emailer setup (1997) I forgot (1998) [WebDNA] Mac OS X Server ("Maverick") - Not Authorized (2014) combining strings (1997) carriage returns in data (1997)