One of my clients had me set up his e-commerce site and recently, we ran into a simple issue with woocommerce. It’s a very basic question but I couldn’t readily find an answer to it anywhere – not even on the woocommerce documentation. And as I researched about it, I’ve seen other people posting the same question also.
It’s about setting up the rates or charges that you want to apply for particular shipping classes. Creating shipping classes for your products in woocommerce is very straightforward and the instructions are well laid out in the developer’s documentation. But it is how to assign rates to them that’s very hard to come by.
Most of the answers I found talk about buying the “table rate shipping” extension which costs $199 for a single-site license. I personally find it a big rip-off and an overkill if all you wanted to do is assign a simple flat rate charge for your shipping classes. I mean, think about it – what is the whole point of letting users create shipping classes if you can’t assign rates to them? Is it all so that we will buy the overpriced extension?
Fortunately, after about an hour of browsing through the settings pages in the admin area, I figured it out. This might be nothing to the experienced woocommerce users, but to the first time users of this plugin, this could save you hours of work, research and possibly money. So here’s how to do it:
- Let’s start with creating shipping classes. To do that, go to Products >> Shipping Classes
- On the Shipping Classes page, create a shipping class just like how you would do it when manually adding categories or tags for your blog posts :
- Now that you have created a shipping class. We’ll assign it a rate, the amount you want to charge your customers for shipping of products under this shipping class. Go to WooCommerce >> Settings >> Shipping >> Flat Rate
- Scroll down to Additional Costs. First select how you want to apply the shipping charge – on a per-item or on a per-order basis; then click the button + Add Cost :
- After clicking +Add Cost, a new entry (or rule) will be added where you can set how much charges you will apply to particular shipping classes:
Don’t forget to click the Save Changes button when you’re done, to apply the changes.
So.. If you have come to this post and read this far, I’m assuming that you are asking the same question. I hope this post has helped you, saved you time and money by not buying the table rates extension. Of course that extension has additional features, but when you’re just starting out with your online business, setting up your e-commerce site can be very complicated and you just want simple solutions to simple problems like this.
Let us know what you think by leaving a comment below. Also, if you were able to find a better solution, you would make the world a better place by telling us about it below! ;)