Zen Cart Logo
Forums / General Questions / Order Update Emails - Subject look up

Order Update Emails - Subject look up

Locked

Views: 2,944

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
11 Feb 2007, 8:17 PM
#1
balboa avatar

balboa

New Zenner

Join Date:
Feb 2007
Posts:
14
Plugin Contributions:
0

Order Update Emails - Subject look up

Hi,

I've read every post going about changing the Order Status email subject lines but nothing seems to be working.

I need the email subject line to just read 'Order Update' and have no order number following this. How do I remove this?

Thanks in advance for any help on this. :smile:

13 Feb 2007, 11:38 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Order Update Emails - Subject look up

Doing a search in the Tools ... Developer's Tool Kit ... for the words:
Order Update

Would locate the use of this in:

/admin/includes/languages/english/orders.php

Line #75 : define('EMAIL_TEXT_SUBJECT', 'Order Update');

A further search on:
EMAIL_TEXT_SUBJECT

Would show that this is used in:

/admin/orders.php

Line #124 : zen_mail($check_status->fields['customers_name'], $check_status->fields['customers_email_address'], EMAIL_TEXT_SUBJECT . ' #' . $oID, $message, STORE_NAME, EMAIL_FROM, $html_msg, 'order_status');

Line #129 : zen_mail('', SEND_EXTRA_ORDERS_STATUS_ADMIN_EMAILS_TO, SEND_EXTRA_ORDERS_STATUS_ADMIN_EMAILS_TO_SUBJECT . ' ' . EMAIL_TEXT_SUBJECT . ' #' . $oID, $message, STORE_NAME, EMAIL_FROM, $html_msg, 'order_status_extra');

Note: there is no override for the file ... so keep a backup of the original and your changed file for future updates ...

14 Feb 2007, 10:07 PM
#3
balboa avatar

balboa

New Zenner

Join Date:
Feb 2007
Posts:
14
Plugin Contributions:
0

Re: Order Update Emails - Subject look up

Hi Linda,

Thanks for your help with this. How do I just remove the order number section of the subject line. Everytime I try to remove the '#' . $oID the emails stop working and no updates are being sent to customers.

Thanks again for your help :smile:

11 May 2007, 5:43 PM
#4
jvoce avatar

jvoce

New Zenner

Join Date:
Jul 2006
Location:
Toronto, ON
Posts:
87
Plugin Contributions:
0

Re: Order Update Emails - Subject look up

Was a solution found to this problem? I'm also interested in removing the order number.

12 May 2007, 3:30 AM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Order Update Emails - Subject look up

To remove it from this line:

zen_mail($check_status->fields['customers_name'], $check_status->fields['customers_email_address'], EMAIL_TEXT_SUBJECT . ' #' . $oID, $message, STORE_NAME, EMAIL_FROM, $html_msg, 'order_status');

Remove this code ...
. ' #' . $oID

zen_mail($check_status->fields['customers_name'], $check_status->fields['customers_email_address'], EMAIL_TEXT_SUBJECT, $message, STORE_NAME, EMAIL_FROM, $html_msg, 'order_status');
11 Sep 2008, 4:08 PM
#6
justrimless avatar

justrimless

Zen Follower

Join Date:
Aug 2006
Posts:
127
Plugin Contributions:
0

Re: Order Update Emails - Subject look up

Hi,

How about replacing the order number with the order status?

Thanks