Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    May 2006
    Location
    UK
    Posts
    32
    Plugin Contributions
    0

    How to add additional lines in customer's money order checkout confirmation email?

    I found for the check/money order payment, the checkout confirmation eamail to the customers will look like the photo I have attached. The payment details are all gathered together. I want to add additional lines before 'Mail your payment...' and between company address lines. I have tried to alter the code in includes\languages\english\modules\payment\moneyorder.php, but nothing happened whatever I do to it. Below is the current code in this file:

    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 />' . '/n 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.');
    ?>


    Is this the right file to look at? What can I do to solve the problem. I have spent all day on this...any help will be very much appreciated.

    Julia
    Attached Images Attached Images  
    To be simple and genuine - we are naturally the same.
    Review My Zen Cart Shop - Clothing & Accessories Wholesale , Silk Store , Studio Flash Lights

  2. #2
    Join Date
    Oct 2006
    Location
    Mechanicsburg, PA
    Posts
    33
    Plugin Contributions
    0

    Default Re: Moneyorders.php

    Be very careful with moneyorders.php, one line goes to the checkout confirmation page, and the other is on the order confirmation email. Where do you want to insert your additional lines, there is an extra line in the configuration option, you can remove via the Payment module, that will reduce the printing of the duplicate: Make check or money orders payable to: and the next line prior to your store information is Make Payable to: Kind of funny actually.

    Edit the two lines above the end of the file for the checkout confirmation, that is what I did to correct the spacing issue and incorporate additional line items.

    Funny, I just posted a new topic moneyorders.php, sorry about that.

  3. #3
    Join Date
    May 2006
    Location
    UK
    Posts
    32
    Plugin Contributions
    0

    Default Re: Moneyorders.php

    Hi mteicher, thank you for your message. I have tried your method, it works! However, i have to put right number of characters to make the sentence to another line. It is very odd that the PHP code such as n\ and html code <br /> do not work here.
    To be simple and genuine - we are naturally the same.
    Review My Zen Cart Shop - Clothing & Accessories Wholesale , Silk Store , Studio Flash Lights

  4. #4
    Join Date
    May 2006
    Location
    UK
    Posts
    32
    Plugin Contributions
    0

    Default Re: Moneyorders.php

    sorry, additional line code is \n
    To be simple and genuine - we are naturally the same.
    Review My Zen Cart Shop - Clothing & Accessories Wholesale , Silk Store , Studio Flash Lights

  5. #5
    Join Date
    Oct 2006
    Location
    Mechanicsburg, PA
    Posts
    33
    Plugin Contributions
    0

    Default Re: How to add additional lines in customer's money order checkout

    There are two sections, one for orders.php and invoice.php, I set both to identical lines, although during testing, I inserted comments to indicate which section I was working with.

 

 

Similar Threads

  1. Replies: 31
    Last Post: 7 Feb 2015, 03:36 AM
  2. How to edit Customer Order Confirmation email?
    By kdipaolo in forum General Questions
    Replies: 1
    Last Post: 12 Dec 2011, 09:51 PM
  3. How Do I Remove Extra Lines from Order Confirmation Email?
    By powrwrap in forum General Questions
    Replies: 7
    Last Post: 22 May 2011, 11:09 PM
  4. Replies: 0
    Last Post: 23 Jan 2009, 09:59 PM
  5. Confirmation Email Edit - Money Order module
    By DiZZ in forum General Questions
    Replies: 1
    Last Post: 21 Jan 2007, 09:07 AM

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