Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2010
    Location
    Texas - The Republic
    Posts
    27
    Plugin Contributions
    0

    Default Printing the order form

    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
    Last edited by tx_Rustler; 27 Feb 2010 at 12:14 AM. Reason: forgot something - sigh

  2. #2
    Join Date
    Mar 2010
    Posts
    2
    Plugin Contributions
    0

    Default Re: Printing the order form - done

    Thanks!

  3. #3
    Join Date
    Oct 2010
    Location
    Guadalajara, Jal, Mex.
    Posts
    1
    Plugin Contributions
    0

    Default Re: Printing the order form

    Thanks so much!
    Your solution has been very helpful for me.

 

 

Similar Threads

  1. v139a Add fields to the order form...
    By dinosaur in forum Managing Customers and Orders
    Replies: 0
    Last Post: 20 Jul 2016, 06:31 PM
  2. v139h Filling out and printing a form
    By breauxlg in forum General Questions
    Replies: 0
    Last Post: 25 Apr 2012, 04:26 PM
  3. How do I add a comment form before the submit order form?
    By hello in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 18 Jul 2010, 12:47 PM
  4. Automated Order Printing
    By chrisvh in forum Managing Customers and Orders
    Replies: 3
    Last Post: 13 Aug 2009, 01:38 PM
  5. Batch Form Printing need some help please????
    By touchclothing in forum Managing Customers and Orders
    Replies: 2
    Last Post: 21 Apr 2008, 12:53 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR