Hide Shipping Method conditionally for WooCommerce

Popis

Tired of showing irrelevant shipping method at checkout? Take control with the Hide Shipping Method conditionally for WooCommerce plugin!

This powerful tool lets you hide shipping method based on flexible conditions like country, state, postcode, specific products or categories, cart subtotal, product quantity, stock status, user role, and even the presence of free shipping (including or excluding local pickup). Deliver a cleaner, more relevant checkout experience tailored to each customer!

Conditions for Hiding Shipping Methods

🌍 Country
Hide/allow methods by customer country.

🗺️ State
Apply rules based on state or region.

📮 Postcode
Control methods by ZIP/postal code.

🛍️ Product
Show/hide methods for specific products.

📂 Category
Apply rules by product category.

💰 Cart Subtotal
Restrict methods based on cart value.

🔢 Quantity
Show/hide methods by product count.

📦 Stock Status
Base rules on product stock or backorder.

👤 User
Control methods by user role or login status.

🚚 Method Type
Hide one method if another is available.

🎁 Free Shipping
Hide paid methods when free shipping is active.

💳 Billing country: Hide shipping methods based on the billing country

Billing state: Apply rules based on the billing state or region

📮 Billing postcode: Target specific ZIP/postal codes to control shipping visibility

📅 Day of the Week:

  • Hide shipping methods based on the current day
  • Disable Same Day Delivery on weekends.
  • Hide Express Shipping on Sundays.
  • Offer Local Pickup only on weekdays.

💳 Payment Method:

  • Hide shipping methods based on the selected payment option
  • Hide Cash on Delivery if the user selects Credit Card.
  • Disable Express Shipping when Bank Transfer is chosen.
  • Show Pickup Only when Pay at Store is selected.
  • Allow only Courier Shipping when Online Payment is used.
  • Allow Next Day Delivery only on Monday to Thursday.

🚀 USE CASES

  1. Hide Flat Rate when Free Shipping is Available in WooCommerce
    Ensure customers only see free shipping when they qualify, hiding the flat rate or other paid options.

  2. Disable Local Pickup for International WooCommerce Orders
    Prevent users outside your country from choosing pickup options that don’t apply to them.

  3. Restrict Cash on Delivery for Specific Countries in WooCommerce
    Hide the COD payment-linked shipping method for regions where it’s unsupported.

  4. Hide WooCommerce Same Day Delivery Outside Specific States
    Allow same-day shipping only in serviceable states (e.g., California, New York).

  5. Restrict Free Shipping by Postcode in WooCommerce
    Offer free delivery only for customers within certain ZIP code ranges.

  6. Hide Express Shipping on Weekends in WooCommerce
    Disable fast delivery options on non-business days to avoid unmet promises.

  7. Allow Local Pickup Only on Weekdays in WooCommerce
    Limit pickup shipping methods to weekdays when staff is available.

  8. Hide WooCommerce Shipping Methods Based on Product Category
    Disable free shipping for bulky categories like furniture while keeping it for small items.

  9. Restrict Shipping Methods for Backordered Products in WooCommerce
    Hide same-day or express delivery when a cart contains out-of-stock items.

  10. Show Exclusive WooCommerce Shipping for Wholesale User Roles
    Offer discounted or hidden shipping methods only to wholesale or logged-in customers.

  11. Hide WooCommerce Flat Rate for Cart Subtotals Below a Threshold
    Make certain shipping options visible only if the cart value exceeds $50.

  12. Restrict Cash on Delivery for Digital Products in WooCommerce
    Automatically hide COD when customers purchase downloadable or virtual products.

  13. Hide DHL or FedEx Shipping for Low-Value Orders in WooCommerce
    Prevent premium courier methods from showing if the order total is too small.

  14. Enable WooCommerce Courier Shipping Only for Online Payment Orders
    Show courier delivery methods only when customers choose credit card or UPI.

  15. Hide Local Pickup if Cart Contains Perishable Products in WooCommerce
    Ensure perishable or fragile items can only be shipped, not picked up.

  16. Restrict International Shipping in WooCommerce by Product Type
    Disable DHL/UPS for products restricted from export, like hazardous goods.

  17. Hide All WooCommerce Shipping Methods for Guest Checkout Users
    Force shipping to be visible only for registered or logged-in customers.

  18. Show Only Flat Rate Shipping for COD Orders in WooCommerce
    Pair Cash on Delivery with a single, reliable shipping method.

  19. Hide WooCommerce Shipping Based on Day of the Week
    For example, hide Next Day Delivery on Fridays to avoid weekend delays.

Third-Party Shipping Methods

Hide any custom or third-party shipping method using its system name

  • Easily hide shipping methods added by third-party plugins like FedEx, UPS, DHL, or custom code.
  • Just enter the system name (shipping method ID) to control its visibility with conditions.
  • No need for custom coding or filters to target external shipping options.
  • Use the “Basic Settings” tab to view the system name of all available shipping methods—no guesswork needed.

Privacy

If you choose to opt in from the plugin settings, or submit optional feedback during deactivation, this plugin may collect basic technical information, including:

  • Plugin version
  • WordPress version
  • WooCommerce version
  • Site url
  • Deactivation reason (if submitted)

This data is used solely to improve plugin quality, compatibility, and features. No personal or user-specific data is collected without consent.

Obrázky

Časté otázky

How can I hide shipping methods in WooCommerce?

Our Hide Shipping Method for WooCommerce plugin allows you to easily hide specific shipping options based on flexible conditions like cart total, country, product, or even user role. You can also hide third-party shipping methods by using their system names.

Can I hide other shipping methods when free shipping is available in WooCommerce?

Yes, with our plugin, you can hide other shipping methods when free shipping is available in WooCommerce. This ensures your customers only see the free shipping option and not conflicting paid ones like flat rate or local pickup.

How do I hide flat rate shipping if free shipping is available in WooCommerce?

Simply create a rule using our plugin that hides flat rate when free shipping is active. This is especially useful when you want to prevent confusion and avoid showing multiple choices at checkout.

Can I hide shipping methods on the cart page in WooCommerce?

Yes, our plugin allows you to hide shipping on the cart page in WooCommerce, so customers only see relevant methods during the checkout process. This is ideal for streamlining the cart experience.

Is it possible to disable the shipping calculator in WooCommerce?

While our plugin focuses on hiding shipping methods, you can also disable the shipping calculator in WooCommerce via your theme or additional plugins if needed. This is commonly used to simplify the cart.

Does your plugin support hiding third-party shipping methods like ELEX, FedEx, or DHL?

Absolutely. You can hide ELEX WooCommerce shipping methods or any third-party ones by using their system names, which are visible in the plugin’s Basic Settings tab.

How can I hide specific shipping options for certain products or categories in WooCommerce?

Use conditions like product, product category, or stock status to hide shipping methods. For example, hide shipping method for category “digital downloads” or hide a method when a specific product is added.

Can I hide shipping methods based on user role or login status in WooCommerce?

Yes, you can hide shipping for guest users, or show exclusive shipping options only to logged-in or wholesale users using our plugin’s user-based rules.

How to hide WooCommerce shipping methods when cart subtotal is below a certain amount?

Create a rule to hide shipping methods if the cart total is less than a threshold (e.g., $50). This is perfect for offering free shipping above a specific amount and hiding it otherwise.

Can I disable or hide WooCommerce shipping methods conditionally?

Yes, our plugin is built for conditional control. You can disable WooCommerce shipping methods using conditions like country, state, postcode, quantity, and more.

Can I disable WooCommerce payment methods based on the selected shipping method?

While our plugin focuses on shipping visibility, it complements plugins that allow you to disable WooCommerce payment methods for specific shipping methods.

Can I make WooCommerce only show free shipping if it’s available?

Yes. With our plugin, you can configure it so WooCommerce only shows free shipping if available, automatically hiding all other options to avoid confusion.

How do I hide shipping methods in WooCommerce if a product is out of stock?

Use the product stock status condition to hide methods like Express or Same-Day Delivery when any item is on backorder or out of stock.

What if I want to remove all shipping options from the WooCommerce checkout?

You can create rules to remove all shipping options during checkout based on your criteria, such as user role or product type.

Can I hide shipping methods based on the current day?

Yes, using our plugin’s „Day of the Week“ rule, you can hide or show specific shipping methods based on whether it’s a weekday or weekend. Perfect for limiting options like same-day or express delivery.

How do I disable certain shipping methods on weekends in WooCommerce?

Simply create a condition to hide the shipping method for Saturday and Sunday using the Day of the Week rule.

Is it possible to change shipping options depending on the selected payment method in WooCommerce?

Yes. With our Payment Method condition, you can hide shipping methods depending on the customer’s selected payment option during checkout.

Can I show only specific shipping methods for online payments in WooCommerce?

Absolutely. You can create a rule to display only relevant shipping options like courier or express when a customer chooses Credit Card or Online Payment methods.

Recenzie

7. októbra 2025
Works exactly as expected. This is what we needed. Thank You.
Prečítať 1 recenziu

Prispievatelia a vývojári

“Hide Shipping Method conditionally for WooCommerce” je softvér s otvoreným zdrojovým kódom. Do tohto pluginu prispeli nasledujúci ľudia.

Prispievatelia

Zoznam zmien

1.0.14

  • Hide shipping method plugin test for WooCommerce 10.0.2

1.0.13

  • UI improvement in Hide shipping method for WooCommerce

1.0.12

  • Hide shipping method for WooCommerce plugin tested for WC 9.9.5

1.0.11

  • simple analytics with consent from user added to : hide shipping method plugin for woocommerce

1.0.10

  • New rule for day of the week
  • New rule for payment method
  • Will add default rules on plugin installation

1.0.7

  • we are recoding the shipping method so we can show a dropdown instead of them finding it