How to Add Advanced Rules to Hide Shipping Methods Based on Cart Subtotal

In many stores, the shipping method offered to customers depends on how much they spend.

Using Cart Subtotal Advanced Rules, you can hide or show shipping methods based on the total cart value.

This is commonly used for offers like free shipping above a certain amount.

The setup is simple and works automatically once configured.

How it works

When a customer adds products to the cart, the plugin checks the cart subtotal (before tax, if configured).

If the subtotal falls within your defined range, the selected shipping methods are hidden.

Only the shipping options that match your rule will be shown at checkout.


Steps to configure Advanced Rules for Cart Subtotal

Step 1: Create or edit a hide shipping rule

  1. Go to WooCommerce > Hide Shipping Method > Manage Rules
  2. Click Add New Rule or edit an existing rule

Step 2: Enable Advanced Rules

  • In the rule settings, select Advanced Rules
  • Click + Add Rule to add a cart subtotal condition
Enable rule
Enable advanced rule

Step 3: Set the cart subtotal range

  • Enter the Minimum Subtotal
  • Enter the Maximum Subtotal

This defines the subtotal range for which the rule will apply.

Step 4: Choose the rule match option

  • Select All Rules Match if the rule should work only when all conditions are met
  • Select Any One Rule Match if the rule should apply when any condition matches

Step 5: Select shipping methods to hide

  • Hide all shipping methods
  • Keep only Free Shipping enabled

Step 6: Save and enable the rule

  • Review the settings
  • Ensure the rule Status is enabled
  • Click Save
Subtotal range based hide shipping
Subtotal range based rules

The rule will now apply automatically on the cart and checkout pages.


Example scenario

An online store is running a promotion on long-sleeve tees and polo necks.

Orders with a cart subtotal between $1,000 and $5,000 qualify for Free Shipping.

The store owner:

  • Adds a cart subtotal advanced rule with a minimum of $1,000 and a maximum of $5,000
  • Enables Advanced Rules
  • Hides all shipping methods except Free Shipping

As a result, customers with qualifying orders will see only the Free Shipping option at checkout.


Why use cart subtotal advanced rules

  • Encourage higher-order value with free shipping offers
  • Automatically control shipping visibility based on cart value
  • Remove manual shipping adjustments
  • Improve checkout clarity and conversion

Conclusion

Advanced Rules for Cart Subtotal help you link shipping availability directly to order value.

By hiding unnecessary shipping methods and showing only relevant options, you create a smoother checkout experience and reinforce your pricing strategy.


FAQs

1. What are the cart subtotal advanced rules for hide shipping?

Cart subtotal advanced rules allow you to hide or show shipping methods based on the total value of the cart before checkout.

2. Can I set both minimum and maximum subtotal values?

Yes. You can define a range by setting both minimum and maximum cart subtotal values.

3. Can I offer free shipping only for a specific price range?

Yes. This feature is commonly used to show only Free Shipping when the cart subtotal falls within a defined range.

4. What happens if the cart subtotal is outside the set range?

If the cart subtotal does not match the defined range, the rule will not apply, and all normal shipping methods will be shown.

5. Does this affect shipping costs or only visibility?

This feature only controls which shipping methods are visible. It does not change shipping prices.

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