Skip to content
  • There are no suggestions because the search field is empty.

Hide Shipping Methods Unless Shipping Group is in Cart

Restrict shipping methods based on cart contents using ShipperHQ rules

Overview

If you need to hide certain shipping methods unless a specific shipping group is in the cart, this guide will help you create such a rule in ShipperHQ. In this example, we'll hide Ground Shipping unless the Ground_Only shipping group is present.

Table of Contents

Step 1: Create a Shipping Group

  1. Create a new Shipping Group. For this example, title it "Ground_Only."
  2. In your eCommerce Platform, assign this Shipping Group to the appropriate products.

Step 2: Create the New Shipping Rule

  1. Navigate to the "Shipping Rules" option in the left-hand menu.

    Location of All Shipping Rules under Shipping Rules menu.

  2. Click "Add New" to create a new shipping rule.

    Click New to start configuring a new shipping rule.

  3. Select "Hide Methods" for the action you'd like the rule to perform.

    Location to select Hide Methods as the action for the shipping rule.

  4. Choose the shipping methods to apply this hide rule to from the available options.

    Example showing how to select shipping methods from the list that will be applicable for the rule.

  5. Opt to use "Shipping Groups" for the rule condition, then click "Continue" to proceed.

    Location to select Shipping Groups as the condition for the shipping rule.

  6. You'll see a prompt to select a shipping group, but select the option "Select Shipping Groups to Prevent this Rule from Applying."

    Setting to select the shipping groups that will prevent the rule from applying.

    Use this option to identify the shipping group(s) to display hidden shipping methods when they're in the cart.

    Example showing selecting Shipping Groups that will prevent the rule from applying.

  7. Add a title for easy identification in the shipping rules list and during testing.

    Example showing summary of the shipping rule. Click on Finish to complete the rule creation.

  8. Click "Finish" to save and apply the new rule immediately.

Now, Ground Shipping will only display when the specified shipping group is in the cart. If not, UPS Ground will be shown.

Feel free to use the "Test your Rates" feature to verify the rule works as intended. 😊