In this article, I’ll show you how to set max weight in WooCommerce orders so you don’t overpay for your shipping. As a bonus, I’ll give you a different solution – setting up weight based shipping with the free plugin.
Sometimes as a WooCommerce store owner, you want to limit your orders. Shipping heavy products or big orders can cost you a lot. In this case, you can just set max weight in WooCommerce orders.
How to set max weight in WooCommerce orders?
The simplest solution would be to add function to your store. You can copy and paste this code into your theme’s functions.php file.
In wc_add_notice section (line 7) you can edit or remove notice that will appear in customers card if it’s content weight would be higher than the set limit. You can set the limit on line 6.
How to do it better?
If you don’t want to overpay for shipping heavy products you can also set up weight based shipping and charge your customers for heavy orders. It’s really simple. All you need is a free version of the Flexible Shipping plugin.
Flexible Shipping is a very popular table rate shipping plugin with more than 63,797 stores using it on a daily basis. In the free version, you can set shipping rates based on price and weight. It also gives you an option to adjust free shipping for your customers.
Weight Based Shipping
To charge your clients for heavy shipping, download and install the Flexible Shipping plugin. Then, go to WooCommerce → Settings → Shipping and choose the shipping zone in which you want to add weight based shipping or make a new one.
The next step is to add the shipping method and choose Flexible Shipping method as in the screenshot below.
Now, click on Add new in Shipping Methods field. Here you can set up the shipping method. Enable it and enter Method Title and Method Description. To set weight based shipping click on Insert Rule button.
For every rule, in Based on field, choose Weight and set weight range. In this example, I’ll charge $20 for every 20 kilograms of order’s weight.
And that’s it! Of course, you can do it more efficient with the PRO version of Flexible Shipping plugin with progressively increasing weight based shipping, but I still think that it’s a better solution then to set max weight in WooCommerce orders. It’s a win-win situation – clients are not limited and you don’t overpay for shipping.
Sometimes you don’t want to or can’t offer your customers unlimited order weight. In this case you can set max weight in WooCommerce orders. But if you don’t want to overpay for shipping you can set weight based shipping with free Flexible Shipping plugin.