As DrByte had previously suggested, this question would be best served (for all) to be in the Super Orders thread. That said, the file provided above does not send an email (directly), but instead processes the information on the page and then calls a super orders function (having looked at the super orders files).
In order to accommodate the change in status being in the subject line of the super orders batch status update, goto: admin/includes/functions/extra_functions/super_orders_functions.php
find code similar to below within the function email_latest_status:
Code:
// End Zen Cart v1.5 Modified Core Code
// send extra emails
if (SEND_EXTRA_ORDERS_STATUS_ADMIN_EMAILS_TO_STATUS == '1' and SEND_EXTRA_ORDERS_STATUS_ADMIN_EMAILS_TO != '') {
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');
}
and change to:
Code:
// End Zen Cart v1.5 Modified Core Code
// send extra emails
if (SEND_EXTRA_ORDERS_STATUS_ADMIN_EMAILS_TO_STATUS == '1' and SEND_EXTRA_ORDERS_STATUS_ADMIN_EMAILS_TO != '') {
zen_mail('', SEND_EXTRA_ORDERS_STATUS_ADMIN_EMAILS_TO, SEND_EXTRA_ORDERS_STATUS_ADMIN_EMAILS_TO_SUBJECT . ' ' . EMAIL_TEXT_SUBJECT . ' #' . $oID . ' ' .
$orders_status_array[$status], $message, STORE_NAME, EMAIL_FROM, $html_msg, 'order_status_extra');
}
Bookmarks