This covers a scenario where you have two items in the cart from different Shipping Groups that are specific to only certain carriers (e.g. Product A only ships UPS, and Product B only ships FedEx). To prevent errors in the cart, you need to set a rule to handle cases where these two products are in the cart together.
The example below is for a company that has a STAINED GLASS group set up for Store Pick up only, combined with an item from the WINDOWS SHIPPING group that has UPS Freight only. When these items are together you might want another carrier to handle this. In this example we’ll show YRC.
Please note: This document is under the assumption that you do not have restrictions on your shipping groups to certain carriers. This scenario will only work if your Carrier Rules define the Carrier for your Shipping Groups. This approach does not apply if you are making the restrictions on the Shipping Group themselves instead of using Carrier Rules.
- Go to Carrier Rules > Add New
- In the Basic panel, give a name to the Rule (i.e. “Show YRC when Glass and Windows in cart together”)
- Under the Shipping Methods panel, select ALL carriers except the one you wish to use. In our case, we’ll select everything but YRC. (it will make sense in a moment)
- Under the Conditions panel, make sure that the Must include all of these Shipping Group(s) dropdown has the two shipping groups we are making the carrier rule for. For our example, we’d select WINDOWS SHIPPING and STAINED GLASS.
- Under the Actions panel, set the Action to Perform dropdown to “Hide Shipping Methods”. This will then hide all of the shipping methods that we selected before.
Assign Products to Shipping Groups
Be sure to assign your relevant products to the new group before you test.