Table of Contents

Auto-Fill and Hide Purchase Order Field

If your site is made for creating quotes, or similar functionality, where you don't want to require payment from your customers, you can pre-fill the Purchase Order field and hide it so your customers can check out without providing payment or a Purchase Order.

Step 1: Turn on purchase orders

Note: An active FoxyCart subscription is required in order to access and use the Purchase Order option.

Go to your Payment Gateway Settings and turn on the option for Let customers pay with a Purchase Order

Step 2: Add snippet to your Checkout template to populate the P.O. field

Step 3: Add snippet to custom header to hide the P.O.

If you then load up your checkout - you should see the purchase order method still displayed - but without the text input section below it when selected.

Hide purchase order entirely

If you instead want to hide the purchase order option entirely, and not provide any text reference to customers for how they would be paying, then you can simply use this CSS block instead:

<style type="text/css">
#fc #fc-payment-method-purchase-order {
     display: none;
}
</style>

Optional Step 4: Customize language on the Checkout

​You can change/remove the image and text for Purchase Order on the checkout by customizing the language strings.

Optional Step 5: Add custom language to the Web/Email Receipt

Depending on the type of custom payment option you're needing to allow, you may also need to provide some details for the customer on their receipt to complete their alternative payment method. This would be especially useful for Bank Transfer payment methods.

This step will add a little extra language after the default success message that appears at the top of the web and email receipts.

Web Receipt

Email Receipt

Note: This approach relies on the HTML email template, activated by selecting Send Text and HTML E-mail.