Custom Hide Shipping Methods

Custom Hide Shipping Methods is a powerful WooCommerce extension that lets you control which shipping methods customers see during checkout. Instead of showing all available options, you create conditional rules that automatically hide specific shipping methods when certain conditions are met. The rules are managed from a single interface and give you complete control over checkout shipping visibility.

Requirements

↑ Back to top
  • Supported WordPress Versions
    • WordPress: 5.0 or higher (tested up to 6.9)
  • WooCommerce Requirements
    • WooCommerce: 3.0 or higher (tested up to 10.4)
  • Plugin Requirements
    • WooCommerce must be installed and activated before activating Custom Hide Shipping
    • WC Hide Shipping Methods must be installed and activated before activating Custom Hide Shipping
  • PHP Version Requirements
    • PHP: 7.4 or higher
    • Recommended: PHP 8.0 or higher for best performance
  • Server Requirements
    • Memory: Minimum 256MB PHP memory (512MB recommended for
    • large catalogs)
    • Execution Time: 60 seconds or higher for bulk operations

Theme or Plugin Dependencies

Required: – WooCommerce (3.0+), WC Hide Shipping Methods

  • Compatible With: – All standard WordPress themes – All standard WooCommerce themes – High-Performance Order Storage (HPOS) – WooCommerce Blocks

Installation

↑ Back to top
  1. Log in to your WordPress admin dashboard.
  2. Go to WooCommerce → Extensions → My Subscriptions.
  3. Find Custom Hide Shipping and click Install.
  4. Click Activate.

Manual installation

↑ Back to top
  1. Download the plugin ZIP file from your WooCommerce.com account.
  2. Go to Plugins → Add New → Upload Plugin.
  3. Select the Custom-Hide-Shipping.zip file and click Install Now.
  4. Click Activate Plugin.
custom hide shipping plugin for woocommerce

Note: If a dependency warning appears (e.g., WooCommerce or WC Hide Shipping Methods is required), install and activate the required plugin first, then reactivate this plugin.

After activation, you should see:

  • A success message: Plugin activated successfully!
  • A new WC Hide Shipping Method menu item under WooCommerce in the left sidebar
  • A Manage Rules link under the plugin name on the Plugins page

Initial Setup

↑ Back to top

Where to Find the Plugin

  • After activation, the plugin appears in your WordPress admin menu:
  • Main Location: WooCommerce → WC Hide Shipping Method
  • Settings Location: WooCommerce → Settings → Shipping → Shipping Settings

First-Time Access

  • In WordPress Admin, go to WooCommerce → WC Hide Shipping Method
  • The rule listing page will load
  • You’ll see the rule management interface with all your rules (initially empty)

Note: Before creating rules, first enable the feature in WooCommerce → Settings → Shipping → Shipping Settings and select “Conditional Hide Shipping Method Rules” under Shipping Method Visibility.

When you first open the plugin, you’ll see:

  • Header Bar: Plugin title “WC Hide Shipping Rules” with Add New Rule button
  • View Filters: All, Enabled, Disabled, Trash — to filter which rules appear
  • Search Bar: Search rules by title
  • Bulk Actions Dropdown: Enable, Disable, Move to Trash
  • Rule Table: Columns for Rule Title, Status (toggle switch), Priority, and Actions (Edit,
  • Duplicate, Delete)
  • Pagination: Navigate through pages of rules

The plugin comes with sensible defaults:

  • Conditional Hide Feature: Enabled by default on fresh installations
  • Rule Priority Default: 10 for new rules
  • Match Logic: Match all conditions (AND) by default
  • Rule Status: Draft (Inactive) until explicitly published

No configuration required you can start creating rules immediately after activation!

Accessing Plugin Settings

  • The plugin settings are located in the WooCommerce Shipping Settings area.
  • Location: WooCommerce → Settings → Shipping → Shipping Settings

Shipping Method Visibility

  • This is the main settings section for the plugin. Under Shipping Method Visibility, you’ll see radio buttons:
OptionDescription
Show “Free Shipping” only (if available)Hides all methods except Free Shipping
Show “Free Shipping” and “Local Pickup”only (if available)Shows only these two methods when applicable
Conditional Hide Shipping Method Rules (Pro)Enables rule-based conditional hiding. All rules are evaluated at checkout
  • The rule engine only runs when Conditional Hide Shipping Method Rules is selected. If you switch back to a different option, rules are preserved but won’t execute.
  • select Conditional Hide Shipping Method Rules.

Core Features (Step-by-Step)

↑ Back to top

Creating a New Rule

  • Define a condition-based rule that hides specific shipping methods at checkout

Step-by-Step Instructions

  • Go to WooCommerce → WC Hide Shipping Method
  • Click the Add New Rule button in the top-right corner
  • The rule creation screen opens with the following sections
  • Find the Rule Title field at the top
  • Enter a descriptive name (e.g., “Hide Express Shipping for Heavy Items“)
  • Make it specific enough to identify later

Configure General Settings

  • Enable Rule: Toggle the switch to Active for the rule to take effect
  • Shipping Methods to Hide: Click the multi-select field and choose one or more shipping methods (e.g., “Express Shipping“). Selected methods appear as removable tags

Set Match Conditions

  • Choose Match all conditions (AND) or Match any condition (OR)
  • AND: When ALL conditions must be true for the rule to trigger (stricter)
  • OR: When ANY condition being true should trigger the rule (broader)

Example: AND vs OR Behavior

ScenarioMatchLogicCondition 1Condition 2Rule Triggers?
US Customer, HeavyCartANDCountry = US✓Weight > 10kg ✓✅ Yes — All conditionsmet
US Customer, LightCartANDCountry = US✓Weight > 10kg ✗❌ No — Weight conditionfails
Non-US Customer,Heavy CartANDCountry = US✗Weight > 10kg ✓❌ No — Countrycondition fails
US Customer, LightCartORCountry = US✓Weight > 10kg ✗✅ Yes — Countrycondition matches
Non-US Customer,Heavy CartORCountry = US✗Weight > 10kg ✓✅ Yes — Weightcondition matches
Non-US Customer,Light CartORCountry = US✗Weight > 10kg ✗❌ No — Neither conditionmatches
  • Click + Add Condition to add your first condition row
  • Configure each row:
  • Condition: Select from the dropdown (e.g., “Total  Quantity”)
  • Operator: Select the comparison operator (e.g., “Greater Than”)
  • Value: Enter the threshold (e.g., “4”)
  • Add more conditions by clicking + Add Condition again

Understanding Condition Types

  • When you open the Condition dropdown, conditions are grouped:
GroupAvailable Conditions
Location SpecificSpecific Country, City, State, Postcode, Zone
Product SpecificProduct, Product Variation, Product Category, Product Tag, Product SKU, Product Quantity
Attribute SpecificSpecific Color, Size (and other global attributes)
User SpecificUser, User Role
Cart SpecificCart Subtotal (Before Discount), Cart Subtotal (After Discount), Quantity, Weight, Dimensions, Coupon Applied, Shipping Class
Checkout SpecificPayment Method

Understanding Operators

  • For Location, Product, Attribute, User, Cart (Basic), and Checkout conditions:
  • Equals To: Triggers when the value matches exactly
  • Not Equals To: Triggers when the value does NOT match

For Cart (Advanced / Numerical) conditions:

  • Equals To (=)
  • Not Equals To (≠)
  • Greater Than (>)
  • Less Than (<)
  • Greater Than or Equal To (≥)
  • Less Than or Equal To (≤)
  • Range: Shows Min and Max fields — triggers when value falls between them

Set Priority

  • Find the Priority box on the right side
  • Set a number (lower = higher priority). Default is 10
  • Click the  Publish Rule button at the top-right
  • The rule is now saved and active
  • The rule appears on the listing page with “Active” status and will hide the selected shipping methods when conditions are met at checkout.

Duplicating Rules

  • Create a copy of an existing rule to use as a template

Step-by-Step Instructions

  • Find the rule you want to duplicate
  • Click the Duplicate button (copy icon) in the Actions column
  • The duplicated rule appears in the listing with the same title (copy will be in Draft status)
  • Click the Edit button on the duplicated rule
  • Modify the title and any settings as needed
  • Click Update to save.

Front-End Impact

↑ Back to top

The shipping methods displayed during checkout will automatically change based on the rules configured on the back end.

Checkout Page

  • Add products to the cart and proceed to checkout.
  • The available shipping methods will be displayed based on the conditions defined in the rule.

Cart Weight Rule

If a rule is configured to hide Express Shipping when the cart weight exceeds 10 kg:

Before Rule Applied

  • Express Shipping is visible.

After Rule Applied

  • Express Shipping is automatically hidden when the cart weight exceeds 10 kg.

Cart Subtotal Rule

If a rule is configured to hide Free Shipping when the cart subtotal is below the specified amount:

Before Rule Applied

  • Free Shipping is available.

After Rule Applied

  • Free Shipping is hidden because the minimum subtotal requirement is not met.

Frequently Asked Questions (FAQs)

↑ Back to top

How many rules can I create?

There’s no hard limit. You can create as many rules as needed, though performance may be affected with hundreds of complex rules.

Can I hide multiple shipping methods in one rule?

Yes. Use the multi-select field under “Shipping Methods to Hide” to choose as many methods as needed.

What happens if no rules match a checkout scenario?

All shipping methods appear normally (default WooCommerce behavior). The plugin only hides methods, never shows methods that weren’t available.

How do rules interact with shipping zones?

Rules are global, but you can use Location conditions (Zone, Country, State, City, Postcode) to restrict rules to specific zones or areas .

Does this plugin work with custom shipping methods?

No. It only hides existing ones based on your rules. Shipping methods must be configured in WooCommerce normally.

Can I reorder rules by priority?

The listing page doesn’t support drag-and-drop reordering. Edit each rule’s priority number directly in the Priority box.

Will the plugin slow down my checkout page?

No. Rules are evaluated efficiently with minimal performance impact. Rule conditions are simple comparisons executed in milliseconds.

What happens to deleted rules?

Deleted rules go to Trash. You can restore them from the Trash view. Permanently deleted rules cannot be recovered.

Can I temporarily disable all rules?

Yes. Go to WooCommerce → Settings →Shipping → Shipping Settings and switch from “Conditional Hide Shipping Method Rules” to any other option. Rules are preserved but won’t execute.

Does this work with Block-based checkout?

Yes. The plugin is compatible with WooCommerce Blocks and standard checkout shortcode.

Use of your personal data
We and our partners process your personal data (such as browsing data, IP Addresses, cookie information, and other unique identifiers) based on your consent and/or our legitimate interest to optimize our website, marketing activities, and your user experience.