If this is your first visit, check our documentation. To post, register or login.

Order Status Email Format

Locked

Started by decostyle on 13 Jan 2009, 7:17 PM · Views: 3,792

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
13 Jan 2009, 7:17 PM
#1
decostyle avatar

decostyle

Zen Follower

Join Date:
Mar 2008
Posts:
336
Plugin Contributions:
0

Post #1 by decostyle

This has been driving me nuts and I'm sure there is an easy answer for this but I have not been able to figure it out yet.

On the order status email where it shows:
"The comments for your order are:test"

All I want to do is to have the actual comment start at the second line.

I tried putting <br/> on the orders.php but all it did was add a space between the colon and the actual comment.

Anybody know how to make the comments on the next line? Appreciate your help!

13 Jan 2009, 9:25 PM
#3
decostyle avatar

decostyle

Zen Follower

Join Date:
Mar 2008
Posts:
336
Plugin Contributions:
0

Post #3 by decostyle

I maybe changing the code on the wrong file. I am currently changing it on:

admin\includes\languages\english\edit_orders.php

I've tracked down the code as this:
define('EMAIL_TEXT_COMMENTS_UPDATE', 'The comments for your order are' . "\n\n%s\n\n");

and have tried this:
define('EMAIL_TEXT_COMMENTS_UPDATE', 'The comments for your order are' . '<br/>' . "\n\n%s\n\n");

which didn't work, I'm probably using the wrong tags. Where would you put the <p> tag?

13 Jan 2009, 9:29 PM
#4
decostyle avatar

decostyle

Zen Follower

Join Date:
Mar 2008
Posts:
336
Plugin Contributions:
0

Post #4 by decostyle

I found it!

if anyone wants to change it. the correct file is in admin/includes/languages/english/orders.php

change from:
define('EMAIL_TEXT_COMMENTS_UPDATE', '<em>The comments for your order are:</em>' );

to:
define('EMAIL_TEXT_COMMENTS_UPDATE', '<em>The comments for your order are:</em>' . "\n");