🚀 Ready to optimize your WooCommerce & Shopify shipping setup? Get FREE early access to a new product →

Newsletter signup

Subscribe to our newsletter

3 Proven Ways to Set WooCommerce Free Shipping per Product

Free Shipping Per Product
Updated:
2019-05-08
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.

Content Writer at Octolize

Bartosz Gajewski is a content and marketing specialist with a solid background in SEO, WordPress content strategy, and technical documentation for digital products. With years of hands-on experience in both in-house and freelance roles, he supports tech companies – especially in the SaaS and e-commerce space – by creating content that informs, engages, and drives results.

His approach blends storytelling with data-driven SEO, and he’s been involved in projects ranging from rebranding and product marketing to growth experiments and copywriting for complex software tools. On the blog, he shares actionable insights from his work across marketing teams, product documentation, and online store optimization.

Comments
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments

Check out our case studies

Castle Sefton Press featured image
Castle Sefton Press

Learn how Octolize solutions helped WooCommerce store based in the United Kingdom set up shipping scenarios.

Case study Metuchen
Metuchen Mower

Learn how Octolize helped Shopify store based in the USA set up distance based rates with a usage of Octolize Distance Based Rates.

Neuro-divergence case study
The Neurodivergence Project

Learn how Octolize helped NGO set up their WooCommerce rates with a usage of Flexible Shipping PRO.