Create Hide Shipping Method Rule in WooCommerce

This guide will help you create hide shipping method rules using the Hide Shipping Method For WooCommerce plugin by Dotstore.

Whether you are running a new WooCommerce store or optimizing an existing checkout flow, these steps will help you hide unwanted shipping methods based on cart conditions, customer location, products, or user roles.

The guide is written to be easy to follow for both technical and non-technical users.

Configure hide shipping rules

Step 1: Access hide shipping settings

To get started:

  1. Log in to your WordPress dashboard
  2. Go to WooCommerce > Hide Shipping > Manage Rules

Here, you’ll see:

  • A list of existing hide shipping rules (if any)
  • An option to create a new rule

This is where all hide-shipping logic is managed.

Click to setup rules
Click to setup

Step 2: Create a hide shipping rule

Now, let’s create a new rule:

  1. Click on Add New Rule
  2. You’ll be taken to the rule configuration screen

This screen is where you define which shipping methods should be hidden and when.

Step 3: Select shipping methods to hide

In this step, choose the shipping methods you want to hide when conditions are met.

Common examples:

  • Hide Free Shipping
  • Hide Local Pickup
  • Hide Flat Rate
  • Hide Express or Third-Party Shipping Methods

You can select one or multiple shipping methods in a single rule.

Configure rules
Configure rule settings

Step 4: Rule configuration

Here, you define the basic behavior of the hide shipping rule:

  • Status: Enable or disable the rule
  • Rule Name: Internal name for admin reference
  • Shipping Methods: Methods you want to hide
  • Priority (if available): Control rule execution order when multiple rules apply

This helps you organize and manage rules easily, especially in stores with complex shipping setups.

Configure rules to hide free shipping
Free shipping hide rules

Step 5: Conditional hide shipping rules

This is where the plugin becomes powerful.

You can set conditions to decide when the selected shipping methods should be hidden. Conditions can be based on:

  • Cart total (min/max amount)
  • Product category or tags
  • Customer country, state, or location
  • User role (guest, logged-in, wholesale)
  • Specific product or product variation

You can combine multiple conditions using AND / OR logic.

Examples:

  • Hide Free Shipping if cart total is less than $50
  • Hide Local Pickup if the customer is outside a specific city
  • Hide Express Shipping for heavy products
  • Hide certain shipping methods for guest users

Rules update dynamically as cart conditions change.

Set rules type AND or OR
Rule type loginc

Step 6: Configure advanced rule logic

For more advanced control, you can:

  • Use multiple rules instead of one complex rule
  • Combine cart-based and location-based conditions
  • Create separate rules for B2B and B2C customers
  • Disable rules temporarily without deleting them
Advanced rules
Advanced rules

This approach keeps your setup flexible, scalable, and easy to maintain as your store grows.


Final tip

The goal of hide shipping rules is not just control, but clarity at checkout.

By showing only relevant shipping options, you reduce confusion, speed up checkout, and improve conversions.


FAQs

1. What does a Hide Shipping Method rule do in WooCommerce?

A hide shipping rule lets you remove specific shipping methods from checkout when certain conditions are met, such as cart value, location, products, or user role.

2. Can I hide more than one shipping method in a single rule?

Yes. You can select multiple shipping methods and hide all of them using one rule.

3. Can I hide shipping methods based on cart total?

Yes. You can hide shipping methods when the cart total is below or above a specific amount.

4. Does this plugin support WooCommerce Checkout Blocks?

Yes. The Hide Shipping Method plugin fully supports both classic checkout and WooCommerce Checkout Blocks.

5. Can I hide shipping methods for specific countries or states?

Yes. You can create location-based rules to hide shipping methods by country or state.

6. Can I apply hide rules for specific products or categories?

Yes. You can hide shipping methods when specific products, variations, or product categories are in the cart.

7. Can I restrict shipping methods for guest users or certain user roles?

Yes. You can hide shipping methods based on user roles such as guests, logged-in users, or wholesale customers.

8. Will hidden shipping methods reappear if cart conditions change?

Yes. Shipping methods automatically show or hide in real time as the cart conditions change.

9. Do I need coding knowledge to create hide shipping rules?

No. All rules are created using a simple, rule-based interface without any coding.

10. Can I temporarily disable a hide shipping rule?

Yes. You can disable a rule at any time without deleting it.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.