PO rule live preview

Preview any PO rule against a sample number before you publish - do not learn the regex on a live company cart

Short answer: test the PO rule on two sample numbers, one that should pass and one that should fail, before you publish it. If either result surprises you, fix the rule there, not on a live company cart.

B2B PO Guard - Require PO (Shopify App Store) checks purchase-order numbers by format, prefix, regex, length, and uniqueness, flags numbers that do not match, and previews any PO rule live against a sample number before you publish. D2C and no-company checkouts stay untouched. This page is not legal advice.

Related: PO Box Blocker — AddressFence — Free blocks PO Boxes and parcel lockers on the shipping address at checkout, plus a small set of ZIP rules. Street-number checks and billing-address rules are on a paid plan.

Free check first: PO number format tester runs in your browser and sends nothing. Test prefix, length, characters, regex and duplicates on sample PO numbers.

Why preview first

Format, prefix, regex, length, and uniqueness are easy to get wrong on the first try. Run the live preview against a sample number that should pass and one that should fail before the rule goes live. That preview job is separate from the require-PO how-to and from D2C no-op testing after publish.

Install B2B PO Guard -> preview rule -> publish

Write a review

Steps

  1. Set the PO validation rule (format, prefix, regex, length, uniqueness as needed).
  2. Preview the rule live against sample numbers before you publish.
  3. Publish, then confirm company checkout enforcement.
  4. Confirm a D2C cart remains untouched.

Install B2B PO Guard -> preview rule -> publish

Not the same as require-PO, D2C no-op, deposit %, or order review

Install B2B PO Guard -> preview rule -> publish

What this page is not

Install B2B PO Guard -> preview rule -> publish

Related pages