3 Proven Ways to Set WooCommerce Free Shipping per Product

Free Shipping Per Product
Author Bartosz Gajewski
Reading time:
3 minutes read

Free shipping is an extremely effective marketing tool, which can significantly increase your sales. That is why, it should be considered by every WooCommerce business. Previously, we described how to set up the free shipping option per zone. This time, we would like to explain to you how to explore this option in your WooCommerce. We will show you how to set WooCommerce free shipping per product.

The mentioned feature allows you to apply free shipping to specific products defined by you. You can use it as a marketing strategy. For example it may increase the demand for some products. How often did you think, that you would really like to quickly sell a certain group of goods and substitute it with something new? WooCommerce Free Shipping per Product is a great solution for many similar problems.

To begin with, overriding global settings and defining individual rules is not as difficult as it sounds. In fact, it is quite easy. Do not worry, you do not have to be a developer to do it! Let”s see the 3 proven ways to set WooCommerce free shipping per product.

1. Create a free shipping class

First, open your WordPress dashboard and navigate to WooCommerce → Settings → Shipping → Shipping Classes → Add Shipping Class. Give it a name, let”s say “Free Shipping”.

Find and edit the product, that you wanted include in the free shipping per product method. Go to Product Data → Shipping → Shipping Class and assign the “Free Shipping” shipping class to it. Update the product.

Now after going back the the admin page WooCommerce → Settings → Shipping → Shipping Classes. “Product Count” should have a value “1”.

Now you can set up a Flat Rate based on shipping class. Navigate to WooCommerce → Settings → Shipping → Shipping Zones. Every shipping zone should contain minimum 1 Flat Rate. Make sure to configure the options accordingly:

  • “Charge per class” is enabled.
  • “Free Shipping” class cost is $0.
  • “No shipping class” cost is whatever it would be for other products.
  • Cost is $0.

Now everything has been configured. Good job!

2. Setting products to be virtual

This way is considered by many to be the easiest to set WooCommerce Free Shipping per Product. Basically, configuring a product to be virtual makes WooCommerce think, that it does not need to be shipped at all, thus applying free shipping. However if someone adds a normal item alongside a virtual one to his basket, a shipping charge will be applied.

However, there is a small obstacle to overcome, while using this method. WooCoomerce will not allow users to change their shipping addresses if it is only a virtual product in the cart. There is a simple solution though. Paste this line to the area “custom functions” of your functions.php file:

add_filter( 'woocommerce_cart_needs_shipping_address', '__return_true', 50 );

3. Coding the WooCommerce free shipping per product filter

Finally, we have got something for those who enjoy coding. Just use the following code:

Remember that you will have to assign the product IDs to be those of the products you intend to apply free shipping to. It might be troublesome, however if you find it difficult to assign the product IDs, then this method is not for you anyway.

Easier done, than said!

To sum up, now you know how to set the Free Shipping per Product very easily in 3 different ways. Some of them are just simple options available in your dashboard. On the other hand if you enjoy coding, there is a way for you too. Now you should be able to configure your WooCommerce more effectively to generate more profit and make the product shipping more custom, depending on your needs.

If you’re looking for more solutions to increase conversions – check out our WooCommerce plugins.

Notify of
Inline Feedbacks
View all comments

Check out our case studies

Dream Home Story
Furniture shipping via WooCommerce – Dream Home’s Case Study

Learn how to configure custom shipping rules for furniture orders – from heavy and bulky to small and light.

4 minutes read
Octolize Case Study
Vitrek’s Story

Read Octolize Case Study about Vitrek – a provider of innovative global solutions for High Voltage Test and Measurement.

2 minutes read
Octolize Case Study
EnglishSpeakingMum’s Story

Read Octolize Case Study about EnglishSpeakingMum – Polish dedicated and involved parenting blogger.

2 minutes read