By default, Shopify B2B leaves the Purchase Order (PO) field optional at checkout. Buyers frequently submit blank fields or placeholders like TBD, breaking automated ERP syncing with SAP, NetSuite, and QuickBooks.
^PO-[0-9]{6}$ (matches PO-482910)^45[0-9]{8}$ (matches 4500123456)^2026-[A-Z]{2}-[0-9]{4}$$.cart.poNumberUsing Shopify's 2026-04 Cart and Checkout Validation Function API, TermGuard B2B validates cart.poNumber natively on Shopify's servers and highlights the PO input field inline—without requiring Shopify Scripts or external servers.