No matter if you are a huge shop owner selling worldwide the thousands of products per month or you run a small store targeted for the narrow audience, there might be some products you want to offer the free shipping for. In this guide I will show you how to set the free shipping for specific products in WooCommerce using the shipping classes. All in just three steps.
Offering the free shipping has been proven to boost the sales and to keep the customers satisfied as well. The higher the satisfaction level is because of the shipping savings, the higher is the chance the customers will return to shop more. So, why not to use it to your advantage, especially since it is pretty easy to set up? To make it even easier I will use the...
Flexible Shipping PRO plugin
With this ultimate shipping solution loaded with lots of useful features you will be able to set everything in no-time. It supports the shipping classes allowing not only to configure the free shipping for specific products in WooCommerce but to define the completely different table rates for numerous groups of products as well. Give it a try and join more than 40,000 Flexible Shipping users worldwide.
How to configure the free shipping for specific products in WooCommerce?
Let's start with the first step and create a new shipping class. Choose WooCommerce → Settings → Shipping → Shipping Classes → Add Shipping Class from the sidebar and name it as you like. I called it Free shipping for the purposes of this guide:
If you are not familiar with using the shipping classes or want to know more about them check our detailed shipping classes guide →
If the shipping class has been successfully created you can move on to the second step. Let's assign it now to the specific product or group of products. To achieve that find the product in your shop you want the free shipping to be applied to and hit the Edit product button. On the product details page scroll down to the Product Data section. In the Shipping tab assign the Shipping class you've previously created to the product by choosing it from the dropdown:
Save the changes with Update button and proceed to the final step.
Adding the rule granting the free shipping for specific products with Flexible Shipping PRO
The only thing left you need to do is to define how the shipping costs should be calculated for the products with Free shipping shipping class. You can say the answer is pretty obvious - it should be free, however, it still needs to be configured. Start the whole process with creating a new shipping method handled by Flexible Shipping:
Hit the Edit link which will appear after moving the mouse over the shipping method's title and go to the shipping method configuration screen. After filling the required fields above scroll down to the Rules table. Add a new rule and:
- choose Based on: None in the first column,
- enter 0 in the Cost per order field,
- fill the Shipping class field with the name of the shipping class which shipping should be free.
Save the changes using the button below. As a result of the setup above every time the customer adds the product with Free shipping shipping class into the cart, he will see the shipping method you created and it will be cost-free.
Hiding the other shipping methods if there is a product with a specific shipping class in the cart
If you want the other shipping methods to remain hidden when the customer puts a product with Free shipping shipping class into the cart, you should edit the existing shipping the way described below:
- add the same rule you did previously to set the free shipping for specific products and move it to the first place in the rules table,
- tick the Cancel checkbox in the last column.
Putting this rule on the top will result in checking if its condition is met first. If you tick the Cancel checkbox in turn, it will prevent the WooCommerce from calculating the following rules. So, if the customer puts only the product with Free shipping shipping class into the cart only the free shipping method will appear. Other paid methods will remain hidden.
If it comes to hiding you may also check our guide How to offer WooCommerce free shipping over amount and hide other shipping methods →