Hide other shipping methods when “Free Shipping” is available

As of WooCommerce version 9.9, a new setting has been introduced to hide other shipping methods when “Free Shipping” is available. You can navigate to WooCommerce > Settings > Shipping > Shipping Settings and enable the “Hide shipping rates when free shipping is available” option.

This new setting eliminates the need for snippets or plugins, offering a built-in solution for a smoother experience.

Overview

↑ Back to top

By default, WooCommerce will show all shipping methods that match the customer and the cart contents. This means Free Shipping will also show along with Flat Rate and other Shipping Methods. The functionality to hide all other methods and only show Free Shipping requires either custom PHP code or a plugin/extension.

If you’d like to see this feature added to WooCommerce core, visit our Ideas Board and add your vote to it. The more popular an idea becomes, the more of a priority it is for our developers to review.

PHP Snippets

↑ Back to top

Refer to our Developer Documenation for shipping-related PHP snippets that can help with the following:

  • How to only show Free Shipping
  • How to only show Local Pickup and Free Shipping
  • Only show free shipping in all states except…

Is there a plugin available for this?

↑ Back to top

Yes, you can also use this free plugin instead of the first two snippets: https://wordpress.org/plugins/wc-hide-shipping-methods

Enable Shipping Methods on a per Class / Product Basis, split orders, or other scenarios?

↑ Back to top

Need more flexibility? Take a look through our premium Shipping Method extensions.