Book Image

WooCommerce Cookbook

By : Patrick Rauland
Book Image

WooCommerce Cookbook

By: Patrick Rauland

Overview of this book

Table of Contents (17 chapters)
WooCommerce Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Getting live shipping quotes with USPS


If you want to give users the exact shipping cost and not have to figure out how to do it with Flat Rate Shipping, you can get rates directly from USPS. That way, you can't estimate the costs wrong and lose money on shipping. It takes a bit of extra work to set it up, but the results make it very easy for users to select the exact shipping method they want and there's no confusion for the admin.

You could also get rates from UPS or FedEx and the process is very similar. The reason I choose to use USPS is because it's slightly easier to set up. With USPS, WooThemes has been able to include credentials in the plugin, which means you have one less account to set up.

Getting ready

Make sure shipping is enabled on your site. See the Setting a minimum order amount to unlock free shipping recipe in this chapter to see how this is done. You'll need to have weights and dimensions for all of your products. If they don't have both weight and dimensions set, you won...