Shopify hide shipping method with your own Delivery Customization Function: hide Express for PO Box addresses, rename Standard for US buyers and keep the cheapest option first. Episode 6 of the Shopify Functions 2027 series (API 2027-01). Real checkout on our dev store: with the customization off a US buyer sees Standard $19.90 and Express $25.32; with it on, Standard becomes "Standard - 3 to 5 business days", and a PO Box address gets only Standard.
3 quick fixes from this episode
Shopify Delivery Customization: No Express Shipping to PO Boxes
Shopify delivery customization with a Function: type a PO Box at checkout and Express disappears, a street address still gets it.…