Hide Shipping Methods Unless Shipping Group is in Cart


If you would like to hide certain shipping methods unless a designated shipping group is in the cart, the details below will provide a step by step guide to creating this type of rule in ShipperHQ.

In this example rule we’ll use the following requirements.

Hide Ground Shipping unless the Ground_Only shipping group is in the cart.

Step 1: Create a Shipping Group

  1. Create a new Shipping Group (for this example, we’ll title ours “Ground_Only.”
  2. In your eCommerce Platform, assign this Shipping Group to the appropriate products.

Step 2: Create the New Shipping Rule

1. To create the new shipping rule, navigate to the “Shipping Rules” option in the left-hand navigation 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 would like the rule to perform.

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

4. Choose the shipping methods to be used in this hide rule from a list of all available shipping methods

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

5. Click the option to use “Shipping Groups” for the rule condition & then click “Continue” to proceed to the next step.

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

6. You will be presented with a prompt to select a shipping group, however, there is another option below titled “Select Shipping Groups to Prevent this Rule from Applying.”

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

Select this option instead to designate the shipping group(s) that you’d like to be used when presenting otherwise hidden shipping methods.

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

Once the shipping group(s) have been added, you will continue to the final step in creating this rule.

7. Be sure to add a title for the new rule so that it can be easily identified in the shipping rules list and when testing.

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

8. Click “Finish” to save the new rule. This will apply the rule immediately.

Once the rule has been created, we recommend using the “Test your Rates” feature to confirm the new rule is working as intended.

The rule configuration outlined here will result in Ground Shipping only being presented with the specific shipping groups are in the cart.

When products under the “Ground_Only” shipping group are not in the cart, UPS Ground will be displayed.

Test Your Rates

Verify that your carriers and rules are working and see how they will display in your checkout right from the ShipperHQ dashboard.

Learn More

Was this doc helpful?