Hiding the Purchase Order payment option
This snippet is really useful for situations where you want to gather customer orders and billing/shipping information but not actually capture any payment at all - like if you contact the customer over the phone to request credit card details to process them manually in a physical store.
Paste the following right before the closing
</head> tag in your checkout template. Once added, you'll need to edit the string “We will contact you to organise payment” to match what your setup requires. That could be anything from “No payment required” to a random string like “f7sA9gd”. Whatever makes sense for your setup - and will make sense for customers reading it on their receipts.
Step 2: Language
Login to the FoxyCart administration, and navigate to the 'language' section. Under 'Checkout' search for “Purchase Order” and edit this to make sense for the value you entered into the Purchase Order field on the checkout. For example, if we prefill the PO field with “We will contact you to organise payment”, we could change the language string from “Purchase Order” to “Offline Payment”. This will appear in the receipt and in emails for your customers.