Web Hosting Talk







View Full Version : shipping calculator


BM136
05-14-2009, 03:32 AM
Hi,

I want to add a link in a web page, When the customer click on that link, a popup window will appear asking to insert the zip code, after submit a UPS and USPS shipping methods with the estimated shipping cost will be shown as a result, (item weight will be passed as a string parameter).

Is there any solution can provide this, or a javascript code?

Jaseeey
05-14-2009, 09:43 AM
BM136,

I have made a custom shipping calculator for a company in Australia, and it was a very lenghty process as all the information was provided to us on paper. This meant that everything had to be created from scratch.

There might be a few scripts laying around on the internet. I did find a handy looking PHP tutorial on this, but I'm not sure on how good it actually is as I have never needed to use UPS before (considering I live in Australia).

You can access the tutorial here: http://www.geekpedia.com/tutorial213_Creating-a-UPS-Shipping-Calculator.html

Take care,

davidb
05-14-2009, 09:53 AM
Are you using a shopping cart? This does not directly answer your question, but zen-cart has mods for both usps and ups that calculate this, based on weight(under addon section). They are written in php, not javascript though. Downloading those might help give you an idea.

cygnusd
05-14-2009, 10:44 AM
or you can have someone code / integrate it for you