Originally Posted by
ShopVille
Thanks so much,
How would i add [] around $orders_status_array[$status] so that it shows [Update] in the email subject
By encapsulating the applicable content with the addtional content as below:
Originally Posted by
mc12345678
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');
}
Code:
zen_mail($customer_info->fields['customers_name'], $customer_info->fields['customers_email_address'], EMAIL_TEXT_SUBJECT . ' #' . $oID . ' [' .
$orders_status_array[$status] . ']', $message, STORE_NAME, EMAIL_FROM, $html_msg, 'order_status');
Bookmarks