Both sides previous revisionPrevious revisionNext revision | Previous revision |
snippets:checkout:hiding_po_payment_option [2011/09/15 01:00] – [Step 1: Javascript] adam | snippets:checkout:hiding_po_payment_option [2017/04/26 07:02] (current) – external edit 127.0.0.1 |
---|
---- dataentry snippet ---- | ---- dataentry snippet ---- |
type : snippet # do not change this line | type : snippet #do not change this line |
category : checkout # mention the category like 'shipping', 'checkout' etc | category : checkout #mention the category like 'shipping', 'checkout' etc |
name : Hiding the Purchase Order payment option # the name of the snippet | name : Hiding the Purchase Order payment option #the name of the snippet |
description : Allow for customer checkouts without requiring any payments # description about snippet | description : Allow for customer checkouts without requiring any payments #description about snippet |
versions_tags : 0.7.0, 0.7.1, 0.7.2 # compatible versions ( always use the dots between the numerals e.g 0.6.0 or 0.7.1 ) | versions_tags : 0.7.0, 0.7.1, 0.7.2, 1.0 #compatible versions ( always use the dots between the numerals e.g 0.6.0 or 0.7.1 ) |
reference_url : # External link | reference_url : #External link |
tags_tags : # tags, separated by commas. | tags_tags : #tags, separated by commas. |
date_dt : 2011-09-14 # the date in YYYY-MM-DD format | date_dt : 2011-09-14 #the date in YYYY-MM-DD format |
---- | ---- |
| |
===== Step 1: Javascript ===== | ===== Step 1: Javascript ===== |
| |
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 you're 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. | 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. |
| |
<code html> | <code html> |
===== Step 2: Language ===== | ===== 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. | {{ :snippets:checkout:purchaseordercustom.jpg?nolink&350|}}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. |
| |