TillKit Checkout Rules

How to block PO boxes, BFPO and APO/FPO addresses on Shopify

Stop shoppers checking out to PO boxes, British Forces Post Office (BFPO) or US military APO/FPO/DPO addresses with a clear checkout message - or hide courier rates while keeping postal services open. Works on every Shopify plan, Basic included, inside the Free plan's 2-rule limit.

Last updated: 3rd December 2026.

Why Shopify doesn't stop PO boxes natively

Shopify's shipping zones only check country and state or province. They never inspect the street address lines where shoppers type PO Box 42, P.O. Box 105 or BFPO 801. Unless you run a Shopify Function at checkout, orders go through and you end up emailing the customer for a street address or paying courier address-correction fees.

At a glance: PO box & address protection recipes

ScenarioShopify native limitTillKit rule typeFree-plan slot
Block PO boxes, BFPO & APO/FPO military mailAccepts any text in Address line 1Checkout block (PO box condition)1 live rule
Hide courier rates (FedEx/UPS/DPD) for PO boxesShows courier rates to PO box addressesDelivery rule (Hide)1 live rule
Block Packstation, InPost lockers & freight forwardersNo street keyword filterCheckout block (Address contains)1 live rule

Block PO boxes in one click with ready-made templates

TillKit Checkout Rules includes two ready-made PO box templates, each using just 1 rule:

  1. Open TillKit Checkout Rules from Apps in your Shopify admin and open Templates from the sidebar (or click Browse all templates).
  2. Choose PO box and BFPO off for UK, Australian, Canadian or worldwide stores - or US PO boxes and APO/FPO/DPO off if you ship in the US and want to catch overseas military ZIP codes (090-099, 340, 962-966) in the same rule.
  3. Click Add this rule, edit the checkout message if you want and click Save.
  4. Try a PO box address through your private Testing link, then click Save in Testing mode, preview with your private Testing link, then switch Status to Active.

If you only need to keep heavy, perishable or age-restricted items out of PO boxes and parcel lockers, add a Vendor or Product tag condition alongside PO box (is a PO box) (or pick the Knives and axes or One carrier for tagged lines template) so smaller items still ship normally.

Live checkout walkthrough: blocking PO Box 42 at checkout, then clearing the error as soon as the shopper enters a street address.

Hide FedEx, UPS or DPD for PO boxes instead of blocking checkout

If you ship via both a national postal service (USPS, Royal Mail, Canada Post or Australia Post) and private couriers (UPS, FedEx, DPD or DHL), you don't have to turn PO box orders away completely:

  1. Click Create a new rule → Hide, rename or reorder shipping rates and set Condition to PO box (is a PO box).
  2. Under Then, choose Hide rates and enter the courier rate names that can't deliver to PO boxes (for example UPS Ground, FedEx 2Day or DPD Next Day).
  3. Save in Testing, check with your Testing link and switch to Active. Shoppers with a PO box only see your postal rates, while street addresses still see every courier option.

Questions

What PO box formats does TillKit detect?

It checks both shipping address lines for PO Box, P.O. Box, P O Box, Post Office Box, BFPO and international PO box terms (Postfach, Postbus, Boîte Postale, Francophone BP, Apartado Postal, Casella Postale and Caixa Postal), regardless of capitalisation or spacing. On US stores, the US template also matches overseas military ZIP codes (APO, FPO, DPO). To block parcel lockers or freight forwarders such as Packstation, ParcelShop or InPost, use the custom Address keywords condition or ready-made locker template.

Will it accidentally block private mailboxes like The UPS Store or street addresses?

No. It deliberately leaves Box 12, PMB 123, USPS PO Box Street Addressing and normal flat or unit numbers open so genuine street deliveries go through.

Can I hide UPS or FedEx for PO boxes instead of blocking the whole order?

Yes. Use a delivery rule with PO box (is a PO box) and choose Hide rates so courier options disappear while postal rates stay selectable.

Try it on your store

Install the app, add the PO box template in Testing and try entering PO Box 42 on your own checkout before turning it live.

Free plan

Free forever

Run 2 complete rules live across checkout, delivery or payments. Each rule covers unlimited postcodes, packs, products and conditions - with unlimited orders. Rules in Testing or Off don't count.

Works on every Shopify plan, Basic included.