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

Newsletter signup

Subscribe to our newsletter

How to Set Quantity Based Free Shipping in WooCommerce?

Set Quantity Based Free Shipping in WooCommerce
Updated:
2020-01-28
Reading time:
2 minutes read

Setting free shipping over an amount in WooCommerce is quite simple and built in the WooCommerce core. But what if you want to offer it when your customers have 5 or 10 products in the cart? In this article, I’ll show you how to set quantity-based free shipping in WooCommerce.

Free shipping in WooCommerce

Let’s start with a simple explanation of what free shipping is in WooCommerce. Free shipping is a great marketing solution for generating more sales. People are very likely to add more to the cart to get free shipping. The most common scenario is a situation where you want to offer a free shipping rate when the customer’s cart value exceeds some amount. We even have a great guide about offering free shipping over amount. We also explained how to combine free and paid shipping. Now, it’s time to explain quantity-based free shipping in WooCommerce. 

Use a trusted shipping plugin

As in the previous articles, we strongly recommend using one of the best shipping plugins for WooCommerce – Flexible Shipping. It’s a very popular and trusted plugin, used by 235,133 stores on a daily basis and with 4.9 rating in the WordPress repository. It allows you to offer a lot more than just free shipping. 

Flexible Shipping PRO WooCommerce
£74.00

The best Table Rate Shipping for WooCommerce. Period. Create shipping rules based on weight, order totals, or item count.

View Details or Add to cart
100,000+ Active Installations
30-day money back guarantee
Last Updated: 2026-06-01
Works with WooCommerce 10.4 - 10.8.x

In this case, to set quantity-based free shipping, you’ll need the PRO version of the plugin.

How to set quantity-based free shipping in WooCommerce?

 

Once you have your plugin, it’s time to add a new shipping method, that will have a free shipping option included. Just go to WooCommerce → Settings → Shipping, and then click on your Shipping Zone. Then click on the Add shipping method button.

Add new shipping method in WooCommerce

Next, choose Flexible Shipping as a shipping method (step 1) and again, click on the Add shipping method button (step 2).

add flexible shipping method

 

Now, you can set quantity-based free shipping in WooCommerce. To do that, just add a new rule based on Item (When: Item), set the is from as your free shipping quantity, and setthe  rule cost is 0. The last but very important thing is to choose Special action: Stop. This way, all other rules won’t be calculated when the client reaches free shipping over quantity.

Set quantity based free shipping in WooCommerce rules

Remember to always put this rule above other ones. In other cases, free shipping cannot be calculated correctly.

Free shipping for multiple items in cart

The method above will apply to the quantity of products in the cart n,o matter if they are different or the same. With the Flexible Shipping PRO plugin, you can also set free shipping for different items in the cart. Just change When to Cart line item and free shipping will work only with five different products. 

Quantity based free shipping - different products

Summary

Free shipping is a very useful and powerful marketing solution. In this article, I showed you how to set quantity-based free shipping in WooCommerce and how to set free shipping for different items in the cart. I hope it will be helpful. Good luck!

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.