FLEXIBLE SHIPPING IS NOW OCTOLIZE
We are very glad to tell you that Flexible Shipping has grown into Octolize. Read more!

Hide WooCommerce Shipping Methods – Complete Guide

Hide WooCommerce Shipping Methods – Complete Guide
Author Bartosz Gajewski
Updated:
2022-01-04
Reading time:
7 minutes read

Learn how to hide WooCommerce shipping methods based on certain conditions in your WooCommerce store with this complete guide. In this article, you will find the most popular examples with ready-made solutions. Thanks to that you can easily apply them in your store. 

Managing the available shipping methods is a very important part of running a WooCommerce store. For more complex stores, or those that offer a variety of products, the ability to hide shipping methods based on certain conditions can be crucial. It decreases order handling and dissatisfied customers. WooCommerce by itself does not have such extensive functionality to have full control over shipping to always display the right shipping methods. Therefore, it is necessary to use an external tool to hide specific methods. In this article, I’ll use the Conditions Shipping Methods plugin.

If you need additional information, you’ll find them in our comprehensive article about WooCommerce shipping methods.

It’s a WooCommerce shipping plugin that allows you to conditionally hide or display shipping methods in WooCommerce. It is basically a tool to manage the display all default shipping methods in WooCommerce. This can include free shipping, Flat Rate, and Local Pickup. What’s more, the plugin also detects shipping methods created with third-party plugins, such as Flexible Shipping or integrations. This way, you can easily set your own rules, regardless of what other solutions you use.

It allows you to hide shipping methods based on various conditions like:

  • Products (Single Product, Product Category, Product Tag and Shipping Class)
  • Cart or Package Weight
  • Cart or Package Value
  • Location
  • Day of the Week and Time of the Day

Conditional Shipping Methods $79

Conditionally display and hide the shipping methods in your WooCommerce store. Define the rules when the specific shipping methods should be available to pick and when not to.

Add to cart or View Details
Plugins used by 215,688+ shops
Last Updated: 2022-05-12
Works with WooCommerce 6.1 - 6.5.x

How to hide WooCommerce shipping methods for certain conditions?

Hiding shipping methods using the Conditional Shipping Methods plugin is quite similar, regardless of the conditions on which you want to hide the methods. That’s why I’ll first try to demonstrate the entire process of configuring the plugin and the full range of its capabilities. Based on this tutorial, you will be able to conditionally manage shipping methods in your WooCommerce store like a pro!

When you have the Conditional Shipping Methods plugin installed and activated, go to WooCommerce → Shipping → Conditional Shipping Methods. You will see all the rulesets available in the plugin. Ruleset is simply a set of advanced rules that allow you to hide or display shipping methods.  If it’s your first use of that plugin, you’ll have no rulesets. To add it, just use the Add ruleset button. 

Conditional Shipping Methods - add a ruleset

On the next page, you have to configure your ruleset

Conditional Shipping Methods - new ruleset

First, set the Ruleset name. Preferably, it should be self-describing, so you can quickly determine its performance in the future.

The configuration is divided into two steps: Conditions and Actions.

Conditions

Use the table to configure the Conditions which if met will result in triggering the shipping methods applicable Actions determined in the next section. In the Conditions table, you can add a new condition. In the When select section, you have several options to choose from: 

  • Product
  • Weight
  • Price
  • Shipping method
  • Zero-cost shipping method
  • Day of the week
  • Time of the day
  • Location

Conditional Shipping Methods - conditions

I’ll explain each of them in individual sections. You can define as many Conditions as you need. Click the Add condition button to create a new AND condition or use the other button on the right to add the OR one.

multiple conditions in the conditional shipping methods plugin

As you may have guessed, this number of conditions allows you to create almost any shipping scenario. Please mind that the Conditions are considered according to their order in the table. Simply drag & drop them to change the order they are processed. 

In my example that ruleset will be used there will be a Sunglasses in the cart or any product from the shipping class “accessories”. This means that the action will be called whenever there is at least one of that product in the shopping cart. 

Actions

Now, let’s move to the Actions section. There you can set the actions for each condition. To do that, add a new action using the Add action button, and choose the one of the available options in the select dropdown. It can be:

  • Enable only selected shipping methods
  • Disable only selected shipping methods
  • Hide all paid shipping methods

Conditional Shipping Methods - actions

Enable only selected shipping methods means that selected shipping methods will be displayed as the only ones if the Condition is met. You can also disable only the selected shipping methods. The last option is to hide all paid shipping options. This is mostly used to hide other shipping methods when free shipping is available.

After configuring your conditions and actions, remember to save the changes. After that, your ruleset will be configured correctly. You can see it in the list of all available rulesets. Remember, you can add as many as you need, and the order in which you do them is determined by the order in this list. 

Conditional Shipping Methods - general settings

Any additional information and detailed description of each option can be found in the plugin documentation.

Now that you know how the plugin works, let’s get to the specifics. I’m going to show you some examples that demonstrate exactly how to use the potential of the various conditions available in the plugin. I’ll go through all the available options and show you how to set them up. Additionally, I’ll show you some use cases that you can implement in your WooCommerce store in less than 5 minutes.

Hide other shipping methods when free shipping is available

The most common use case to hide WooCommerce shipping methods would be hiding other shipping methods during checkout when the Free Shipping is available for the order. If a customer’s cart has qualified for the free shipping, but you are still displaying all other shipping methods on the cart page, it can get confusing. Especially when you have multiple shipping methods on the cart page, your clients can get confused about whether they actually qualify for free shipping. This can end up in an abandoned shopping cart, something that every eCommerce store owner certainly wants to avoid. If all paid methods are hidden, free shipping will be automatically selected on the checkout page. This can make the whole ordering process even more efficient for your customers.

What’s very important, Conditional Shipping Methods plugin works for all free shipping methods, so all methods that have shipping cost with “0” value. It means that it will work not only with the WooCommerce “Free shipping” method, but all other shipping methods with that value. This expands the possibilities of using the plugin and combining it with additional plugins like the table rate shipping plugin. 

Configure the rules

Let’s get down to specifics. I will show you step by step how to configure rules to hide other shipping methods when free shipping is available. First, set the Ruleset name. Preferably, it should be self-describing, so you can quickly determine its performance in the future. Then, in the Conditions table, add a new condition. In the When select section, choose the Zero-cost shipping method.

Conditional Shipping Methods - conditions

This way, that ruleset will be used whenever a shipping method with a cost of zero appears in the shopping cart. This means that the action will be called whenever there is at least one method with zero cost in the shopping cart. It can be a “Free Shipping” shipping method, but also any other shipping method with zero value.

Now, it’s time to set an action that will be used when the conditions are met. To do that, add a new action using the Add action button, and choose the Hide all paid shipping methods option in the select dropdown.

Conditional Shipping Methods - actions

Remember to Save changes and turn on conditional displaying or hiding the shipping methods. If you have followed all the instructions, you have successfully configured and hide other shipping methods when free shipping is available.

Tips & tricks

Remember that sometimes choosing between paid and free shipping is recommended in ecommerce. Some customers will want to pay extra for express shipping or weekend delivery. If you have this shipping option available, consider whether you definitely want to hide all shipping methods. Instead, you may choose to only exclude specific shipping methods.

Hide Shipping Methods Based on WooCommerce Shipping Classes

Another of the popular uses of shipping method hiding, is the use of shipping classes. This allows you to hide certain shipping methods for the relevant products. This could be, for example, hiding the shipping method with pickup points for oversized items.  The same goes for products that cannot be shipped and the only available shipping method in the store should be Local Pickup. To hide shipping methods based on WooCommerce shipping classes, just add a new condition and use the Shipping Class option. Then, search the shipping class that you want to use by entering it’s name. You can add multiple shipping classes at the same rule.

hide shipping method based on shipping class

After setting up the conditions, select which shipping method you want to disable based on shipping class in the Actions table.

Hide WooCommerce Shipping Methods based on products

For large stores, using shipping classes can be quite difficult. In some cases it will be better to specify instead which products or product categories the WooCommerce shipping method should be hidden. In Conditional Shipping Methods you can choose product category, product tag or even individual products. Their configuration looks exactly the same as for shipping classes. Just select the appropriate option and enter all the required products.

Hide shipping methods for individual products

To hide shipping methods based on products, just add a new condition and use the Product option. Then, search the product that you want to use by entering it’s name. You can add multiple products in the same rule.

hide shipping method based on particular product

Hide shipping methods for product categories

To hide shipping methods based on products categories, just add a new condition and use the Product category option. Then, search the product category that you want to use by entering it’s name. You can add multiple product categories in the same rule.

hide shipping method based on product category

Hide shipping methods for product tags.

To hide shipping methods based on products tags, just add a new condition and use the Product tag option. Then, search the product tag that you want to use by entering it’s name. You can add multiple product tags in the same rule.

hide shipping method based on product tag

Hide WooCommerce Shipping Methods for certain locations

Another interesting application, is hiding shipping methods for specific locations. This is a sort of bypass of WooCommerce Shipping Zones. This solution is also great for external integrations, which have only global shipping methods, without the ability to assign them to a specific zone.

Hide WooCommerce Shipping Methods based on shipping location

You can choose from one of the countries available in the WooCommerce.

Hide WooCommerce Shipping Methods based on time

It’s a great solution for same-day shipping or any similar fast delivery options. Their display should often be time limited to avoid dissatisfaction and overpaying your customers.

Day of the week

Hide WooCommerce Shipping Methods based on day of the week

Time of the day

Hide WooCommerce Shipping Methods based on time of the day

Hide WooCommerce shipping methods based on cart subtotal

You can also hide methods based on the value of the order. Conditional Shipping Methods works based on the total price in the shop’s default currency selected in the WooCommerce settings. This allows you to disable more expensive shipping methods above a certain amount. Simply select the appropriate price range for which you want your selected action to perform.

Hide WooCommerce Shipping Methods Based on Cart Subtotal

Hide WooCommerce shipping methods based on order weight

Alternative to WooCommerce weight based shipping or shipping heavy items. You can disable the shipping method when the total cart weight exceeds the certain weight. Just set the proper weight range in your rules.

Hide WooCommerce Shipping Methods based on order weight

Summary

This article showed you how to hide WooCommerce Shipping Method based on various parameters including WooCommerce shipping classes, time, cart subtotal, and product type using the Conditional Shipping Methods plugin. I hope it will be useful for you and help you develop your WooCommerce store.

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

Check out our case studies

Vitrek’s Story

Since 1990, Vitrek has provided innovative global solutions for High Voltage Test and Measurement. Vitrek supplies.

2 minutes read
EnglishSpeakingMum’s Story

EnglishSpeakingMum is a Polish dedicated and involved parenting blogger. She promotes the idea of raising.

2 minutes read

Join over 10,000 subscribers

Stay up to date and get WooCommerce tips & Octolize news right to your inbox!