Jump to content

Automated Calculation Of Shipping Cost


Johnny2

Recommended Posts

I have a client who wants his website to sell products from many different warehouses (which also use different combinations of shipping companies). I can collect information about shipping-dimensions and shipping-weight for each product, but how do I calculate what the shipping will/should be so the customer will know before checkout?

 

I assume it will have to be calculated with each warehouse's zip-code and the customer's zip-code, but don't know how to get the information in an automated way.

 

I assume that many other online companies do this very thing, but I guess I'm missing the basics of how to get the information.

 

I mean... does UPS, FedEx, and USPS have a URL that my script can POST the zipcodes and shipping-weight to, then sends information back to my script?

 

Thank you e-commerce Gurus!

Link to comment
Share on other sites

I can collect information about shipping-dimensions and shipping-weight for each product, but how do I calculate what the shipping will/should be so the customer will know before checkout?

You can get shipping quotes from UPS, FexEx, etc -- most will have a program you sign up for that will give you access to that API. Each company will be a little different, so you'll have to figure it out. As far as your site goes, you'll probably need to associate each product with a specific warehouse, then calculate shipping based on the shipping options related to that warehouse.

Link to comment
Share on other sites

You can get shipping quotes from UPS, FexEx, etc -- most will have a program you sign up for that will give you access to that API. Each company will be a little different, so you'll have to figure it out. As far as your site goes, you'll probably need to associate each product with a specific warehouse, then calculate shipping based on the shipping options related to that warehouse.

 

 

Thanks Ben! You're the best!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...