Post by pgp » Wed Jun 27, 2012 5:21 pm

how do I just update current store name in admin email subject and keep the rest. Right now my admin email subject says "store name - Order 22", I want to make this as "Notification of Payment Received - Order 22" ? :(

pgp
New member

Posts

Joined
Mon Jan 30, 2012 1:08 pm

User avatar
Guru Member

Posts

Joined
Wed Nov 16, 2011 11:53 am
Location - Singapore

Post by pgp » Wed Jun 27, 2012 7:17 pm

Hi, I found where to change but not exactly sure which part, when I try to edit I get a syntax error...

// Admin Alert Mail

if ($this->config->get('config_alert_mail')) {

$subject = sprintf($language->get('text_new_subject'), html_entity_decode($this->config->get('config_name'), ENT_QUOTES, 'UTF-8'), $order_id);


Change to?
$subject = sprintf($language->get('text_new_subject'), ('Notification of payment received'), ENT_QUOTES, 'UTF-8'), $order_id);

is that correct?

pgp
New member

Posts

Joined
Mon Jan 30, 2012 1:08 pm

User avatar
Guru Member

Posts

Joined
Wed Nov 16, 2011 11:53 am
Location - Singapore

Post by pgp » Thu Jun 28, 2012 4:57 am

oh ok, got it now. Do I just change text_new_subject = whatever I want?

but then would it still keep store name?? and also I want to keep order number at the end of the subject line.

pgp
New member

Posts

Joined
Mon Jan 30, 2012 1:08 pm

User avatar
Guru Member

Posts

Joined
Wed Nov 16, 2011 11:53 am
Location - Singapore

Post by pgp » Thu Jun 28, 2012 5:54 pm

You mean, edit like below?

$_['text_new_subject'] = 'Notification of payment received - Order %s';

That would just make subject as for an example; Notification of payment received - order 22?

Will it still have store name in the subject?

pgp
New member

Posts

Joined
Mon Jan 30, 2012 1:08 pm

Post by MarketInSG » Thu Jun 28, 2012 11:03 pm

Code: Select all

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

Code: Select all

$_['text_new_subject']          = '%s - Notification of Payment Received: Order %s';


User avatar
Guru Member

Posts

Joined
Wed Nov 16, 2011 11:53 am
Location - Singapore

Post by pamarakos » Tue Jul 02, 2019 3:37 am

Hi ,
I need to change the subject of the admin order mail alert?

Newbie

Posts

Joined
Tue Jul 02, 2019 3:33 am
Who is online

Users browsing this forum: Bing [Bot] and 10 guests