How to add conditional hide shipping method rules
The Conditional Hide Shipping Method Rules feature allows you to hide shipping methods based on specific conditions.
Instead of hiding shipping methods globally, you can control when, where, and for whom a shipping method should be hidden.
This helps you create a cleaner checkout experience and apply smarter shipping logic.
The setup is rule-based and easy to manage.
In The Article
How it works
When you enable the Conditional hide shipping method rules option:
- A new menu called Manage Rules becomes available
- Each rule defines which shipping method to hide and under what conditions
- The plugin checks these rules on the cart and checkout pages
- If conditions match, the selected shipping method is hidden automatically
You can create multiple rules and manage them individually.
Steps to configure the settings
Step 1: Enable Conditional Hide Shipping Method Rules
- Go to WooCommerce > Hide Shipping Method
- Enable the option “Conditional hide shipping method rules”
- Save the settings
- The Manage Rules menu will now appear
Step 2: Add a new hide shipping rule
- Open Manage Rules
- Click Add New Rule
You will now see the rule configuration options.
Basic Hide Shipping Rules – Field explanation
1. Status
- Enable or disable the rule
- Disabled rules will not apply at checkout
Tip: Use this if you want to temporarily stop a rule without deleting it.
2. Hide Shipping Rule Name
-
Give your rule a clear name
Example:
- “Hide Flat Rate for Free Shipping”
- “Hide Express Shipping for Low Cart Value”
This helps you identify rules easily later.
3. Select Shipping Source
-
Choose where the shipping method comes from
Example:
- WooCommerce default shipping
- Plugin-based shipping methods
This helps the plugin correctly detect the shipping method.
4. Select Shipping Method
-
Choose the shipping method you want to hide
You can select:
- Flat Rate
- Local Pickup
- Express Shipping
- Any custom shipping method
Only the selected shipping method will be hidden.
5. Advanced Settings
This section allows you to control when the shipping method should be hidden.
You can set conditions based on:
- Cart subtotal
- Product or product category
- Cart quantity
- Customer location (country, state)
- User role
The shipping method will be hidden only when these conditions are met.
6. Apply Extra Rule – Advanced Rules
This is optional but powerful.
Use this when:
- You need multiple conditions together
- You want more control over complex scenarios
Examples:
- Hide a shipping method only when the cart total is above a certain amount, AND the user is a guest
- Hide a shipping method for specific categories AND specific locations
You can combine rules to match real business needs.
Example scenario
A WooCommerce store offers:
- Flat Rate shipping
- Free Shipping for orders above $100
- Express Shipping for urgent delivery
The store owner wants to:
- Hide Flat Rate when Free Shipping is available
- Keep Express Shipping visible at all times
Using Conditional Hide Shipping Method Rules:
- Create a rule named “Hide Flat Rate when Free Shipping”
- Select Flat Rate as the shipping method
- Set condition: Free Shipping is applicable
- Save and enable the rule
Now:
- Customers eligible for Free Shipping will not see Flat Rate
- Express Shipping remains available
FAQs
1. Can I create multiple hide shipping rules?
Yes. You can create and manage multiple rules at the same time.
2. Will these rules affect existing orders?
No. Rules only apply to the cart and checkout pages.
3. Can I disable a rule without deleting it?
Yes. Use the Status option to disable the rule.
4. Do I need technical knowledge to use advanced rules?
No. Advanced rules are configurable using dropdowns and simple conditions.
5. Does this work with custom shipping plugins?
Yes. Most WooCommerce-compatible shipping methods are supported.