Page 1 of 1

SOLVED: Edit subject line of confirmation email - v1.5.0

Posted: Fri Sep 02, 2011 3:42 am
by vegiemite
Could someone point me in the right direction for where to edit the subject line used on the order confirmation emails the system sends? In particular I would like to remove the "- Order #" portion from that.

Using v 1.5.0 of opencart. Thanks in advance for any help you can offer.

Jon

Re: Edit subject line of confirmation email - v1.5.0

Posted: Fri Sep 02, 2011 4:53 pm
by uksitebuilder
edit: catalog/language/english/mail/order.php

change

Code: Select all

$_['text_new_subject']          = '%s - Order %s';
to

Code: Select all

$_['text_new_subject']          = '%s';
edit: catalog/model/checkout/order.php

change

Code: Select all

$subject = sprintf($language->get('text_new_subject'), $order_info['store_name'], $order_id);
to

Code: Select all

$subject = sprintf($language->get('text_new_subject'), $order_info['store_name']);

Re: Edit subject line of confirmation email - v1.5.0

Posted: Sat Sep 03, 2011 1:55 am
by vegiemite
Thank you much, that sorted it. Appreciate the help.
Jon

Re: SOLVED: Edit subject line of confirmation email - v1.5.0

Posted: Tue Sep 06, 2011 8:38 pm
by ronnieb
Can someone tell me how I can add the postcode to the confirmation email (admin only)

when our customers ring I generally search through outlook express for the order, but If they dont have an order number, then I cant find them as the email a template

therefore the postcode in the subject will be fab

thanks
ronnie

Re: SOLVED: Edit subject line of confirmation email - v1.5.0

Posted: Tue Feb 07, 2012 2:46 pm
by tooheys
Hi,

How could i add the invoice number to the subject line or email body?

THANKS

Re: SOLVED: Edit subject line of confirmation email - v1.5.0

Posted: Fri Jul 20, 2012 6:48 am
by Meshach
Thanks man. =)