Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2009
    Posts
    201
    Plugin Contributions
    6

    Default line feeds in order confirmation email

    At the end of the order confirmation email I have several lines of instructions.
    Right now there are no line feeds after each line of instruction. How can
    I add line feeds after each instruction? I tried setting up the email for HTML MIME
    and putting <br /> after each instruction but that did not work. Also tried
    putting "\n" for a line feed. That also does not work. Any suggestions?
    Appreciate the help.
    Last edited by JohnBoyCR; 6 Dec 2009 at 05:38 PM.

  2. #2
    Join Date
    Jan 2009
    Posts
    201
    Plugin Contributions
    6

    Default Re: line feeds in order confirmation email

    I am providing some additional information regarding this issue.
    The text in question is in the moneyorder.php file,

    define('MODULE_PAYMENT_MONEYORDER_TEXT_EMAIL_FOOTER', 'my text'

    where I want to have line feeds within 'my text' .

    Thanks.

  3. #3
    Join Date
    Jan 2009
    Posts
    201
    Plugin Contributions
    6

    Default Re: line feeds in order confirmation email

    It appears that functions_email.php may be set up to reject/ignore
    email that has the "\n" in the fields. So now I am at a loss.
    Anybody have suggestions?

  4. #4
    Join Date
    Jan 2009
    Posts
    201
    Plugin Contributions
    6

    Default Re: line feeds in order confirmation email

    EUREKA !! SUCCESS !! I figured out how to get the information on separate
    lines. It just took a bit of ingenuity! In the moneyorder.php file where I have
    defined the EMAIL_FOOTER message, instead of having everything on one line
    I pressed the 'RETURN' key where I wanted the breaks. Now the system
    processes the return key. How simple!

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: line feeds in order confirmation email

    Thanks for the update on what worked for you on this ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. Email Order Confirmation - Total Order all on one line
    By abaco in forum General Questions
    Replies: 3
    Last Post: 30 Jul 2015, 12:39 PM
  2. Getting Rid of Order Confirmation Email Line Breaks
    By kdipaolo in forum General Questions
    Replies: 1
    Last Post: 13 Dec 2011, 05:40 PM
  3. Can I remove the line-breaks in order confirmation email?
    By idc1 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 5 Dec 2011, 03:19 AM
  4. Line break in plain text confirmation email
    By odlarn in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 15 Sep 2010, 02:55 AM
  5. How can I place Atribute in the order confirmation email subject line?
    By oavs in forum Managing Customers and Orders
    Replies: 1
    Last Post: 29 Aug 2008, 07:30 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