I searched and searched the forum to find a way to print the order form, rather than processing it via a credit card or PayPal. I never did find a solution ( assuming the email goes through with spam filters the way they are was not satisfactory), so I thought I would post what I did here.
Set the option to process checks/money orders and the customer needs to select that option when checking out.
The file includes\languages\english\modules\payment\money_order.php is the key to the solution.
It looks something like this
define('MODULE_PAYMENT_MONEYORDER_TEXT_TITLE', 'Check/Money Order');
define('MODULE_PAYMENT_MONEYORDER_TEXT_DESCRIPTION', 'Please make your check or money order payable to:<br />' . MODULE_PAYMENT_MONEYORDER_PAYTO . '<br /><br />Mail your payment to:<br />' . nl2br(STORE_NAME_ADDRESS) . '<br /><br />' . 'Your order will not ship until we receive payment.');
define('MODULE_PAYMENT_MONEYORDER_TEXT_EMAIL_FOOTER', "Please make your check or money order payable to:" . "\n\n" . MODULE_PAYMENT_MONEYORDER_PAYTO . "\n\nMail your payment to:\n" . STORE_NAME_ADDRESS . "\n\n" . 'Your order will not ship until we receive payment.');
The second define is what you see on the screen, the third is the email entry.
(In the second define)Right after the sentence that reads: Your order will not ship until we receive payment.
add this:
<br /><br />Please click this button to print this order form. <a href="javascript:window.print()"><img src="includes/templates/template_default/buttons/english/YOUR_PRINT_ORDER.GIF"></a>
If you do not want to use your own button, you can substitute the following:
<input type="button" value="Print this page" onClick="window.print()">
That puts up a standard windows button.
So the second paragraph ends up looking like this (insure the added part is BEFORE the ending ' )
define('MODULE_PAYMENT_MONEYORDER_TEXT_DESCRIPTION', 'Please make your check or money order payable to:<br />' . MODULE_PAYMENT_MONEYORDER_PAYTO . '<br /><br />Mail your payment to:<br />' . nl2br(STORE_NAME_ADDRESS) . '<br /><br />' . 'Your order will not ship until we receive payment.<br /><br />Please click this button to print this order form. <a href="javascript:window.print()"><img src="includes/templates/template_default/buttons/english/YOUR_PRINT_ORDER.GIF"></a> ');
I photo-shopped the Confirm Order gif so it now reads Print Order, and saved it in the indicated folder. but you can use any appropriate sized button.
I did add a statement telling the customer to click the confirm order button to end the checkout process.
Hope it helps someone. Now if my other post would get solved
Jim
Bookmarks