Post by vegiemite » Fri Sep 02, 2011 3:42 am

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
Last edited by vegiemite on Sat Sep 03, 2011 1:55 am, edited 1 time in total.

Newbie

Posts

Joined
Fri Sep 02, 2011 3:40 am

Post by uksitebuilder » Fri Sep 02, 2011 4:53 pm

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']);

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by vegiemite » Sat Sep 03, 2011 1:55 am

Thank you much, that sorted it. Appreciate the help.
Jon

Newbie

Posts

Joined
Fri Sep 02, 2011 3:40 am

Post by ronnieb » Tue Sep 06, 2011 8:38 pm

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

New member

Posts

Joined
Tue May 24, 2011 3:44 pm

Post by tooheys » Tue Feb 07, 2012 2:46 pm

Hi,

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

THANKS

Newbie

Posts

Joined
Mon Nov 21, 2011 1:11 pm

Post by Meshach » Fri Jul 20, 2012 6:48 am

Thanks man. =)

User avatar
Newbie

Posts

Joined
Thu May 24, 2012 5:20 am

Who is online

Users browsing this forum: No registered users and 21 guests