Hide WooCommerce Shipping Methods – Complete Guide

Author Bartosz Gajewski
Updated:
2022-01-04
Reading time:
5 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 crucial 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 Flexible Shipping PRO 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 shipping methods in WooCommerce. But, to be honest, it’s only a small part of the plugin capabilities. Its main functionality is to set the shipping cost based on numerous conditions, making it a one of the most powerful shipping tools for WooCommerce.

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
  • Day of the Week and Time of the Day
  • Product dimensions
  • User Role

Flexible Shipping PRO WooCommerce £89

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

Add to cart or View Details
100,000+ Active Installations
Last Updated: 2022-08-16
Works with WooCommerce 6.5 - 6.8.x

How to hide WooCommerce shipping methods for certain conditions?

Hiding shipping methods using the Flexible Shipping PRO 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!

Add Flexible Shipping method

Having the Flexible Shipping PRO plugin installed and activated, go to WooCommerce → Settings → Shipping → Shipping Zones, and choose the Shipping Zone where you want to disable shipping method for certain products. Then, hit the Add shipping method button. You’ll find it at the bottom of the shipping methods table:

WooCommerce add shipping method

In the window that will appear, choose the Flexible Shipping from the dropdown list and confirm with Add shipping method button:

add flexible shipping method

Thereafter, you have your own Flexible Shipping method in the shipping zone:

new flexible shipping method

Now, it’s time to configure shipping method.

Configure the Flexible Shipping method

In the configuration page, you can enter Method Title, Method Description and use all features of the Flexible Shipping plugin. The most important element, however, is the Shipping Cost Calculation Rules table. You’ll find it on the bottom of the configuration page:

Shipping Cost Calculation Rules table

There, you can set the cost for your shipping method. You can use different conditions to determine shipping cost, but if you want to set flat rate, just use Always. For example, if you intend to charge $10 for shipping, set it like that:

basic shipping method configuration

Select conditions

Having your shipping cost set and calculated, add a new rule with Add rule button and select the condition to hide that shipping method.

You have several options to choose from: 

  • Price
  • Number of items
  • Cart line item
  • Weight
  • Dimensional weight
  • Volume
  • Max dimension
  • Total overall dimensions
  • Single Product
  • Product tag
  • Product category
  • Shipping class
  • User Role
  • Time of the day
  • Day of the week

flexible shipping PRO conditions

 

As you can see for yourself, the list is impressive. For each of them, the implementation method is the same. Regardless of the condition, to hide the shipping method you need to change the Special action to Hide.

Disable WooCommerce Shipping Method for Certain Products

This works in such a way that if a certain condition is met, the shipping method will not show up in the shopping cart and on the order page. In this example, if there will be a Sunglasses in the client’s cart, that shipping method won’t be displayed.

It will show you the exact configurations of the most popular cases in WooCommerce.

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 select the Shipping class condition. Then, search the shipping class that you want to use by entering its name. You can add multiple shipping classes at the same rule.

Hide Shipping Methods Based on WooCommerce Shipping Classes

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 Flexible Shipping PRO 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 its name. You can add multiple products in the same rule.

Hide shipping methods for individual products

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 its name. You can add multiple product categories in the same rule.

Hide shipping methods for product categories

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 methods for product tags

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 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. Flexible Shipping plugin 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 Special 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

In this example, the shipping method will be disabled when total weight of all orders in the client’s cart exceed 20 kg.

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 Flexible Shipping PRO 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

Dream Home Story
Dream Home’s Story

Read Octolize Case Study about Dream Home – a provider of furniture and products for the home and office.

2 minutes read
Vitrek’s Story

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

2 minutes read
EnglishSpeakingMum’s Story

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

2 minutes read

Join over 10,000 subscribers

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