How to Hide UPS for Shipments to PO Box


UPS will allow you to ship to PO Box addresses but will charge you a fee and forward the package to a customer’s home address. This fee can be significant and should normally be avoided.

In ShipperHQ, you can restrict UPS so that it’s not shown for shipments to PO Boxes. Instead, you can have a carrier like USPS display.


This example assumes that you’ve already set up a UPS carrier in ShipperHQ.


  1. Click on Shipping Rules in the left-hand navbar and click the +New button
  2. In the Basic tab, enter a name like “Hide UPS for PO Boxes”
  3. Under the Shipping Methods section, select all your UPS Shipping Methods
  4. In the Action tab under the “Action to Perform” section, set I want to… to  “Hide my selected Shipping Methods”
  5. In the Conditions tab, select the pre-defined “US POBox” Shipping Zone in the Zones Include field
  6. Save and test this rule

With the above Shipping Rule in place, UPS will not be shown if the customer enters a PO Box in the US as their address.

Magento: Setup Error Message

On the Magento platforms, when a rule is set to “Hide Shipping Methods” you can also set an error message that displays when the rule is in effect:

  1. Check the “Show Error Message when this Rule Applies” box (see screenshot below for reference)
  2. Enter the error message you want to display.


If you don’t want to ship to PO Boxes at all, the configuration explained above will accomplish this for you.

If you want to offer USPS shipping but restrict it to only show for PO Boxes, you can achieve that via the Display Restrictions panel on the USPS Carrier directly.

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?