ok, I found this code on another site, apparently it goes in 2 places in the admin/orders.php:
- The first place applies to the text version of the email and you can do something like ...
EMAIL_TEXT_STATUS_UPDATED . sprintf(EMAIL_TEXT_STATUS_LABEL, $orders_status_array[$status] );
if ( $orders_status_array[$status] == "Processing" ) {
$message = $message . "\n\n" .
"Your custom message for processing status here "
} else if ( $orders_status_array[$status] == "Delivered" ) {
$message = $message . "\n\n" .
"Your custom message for delivered status here"
}
- The second place applies to the HTML version of the email. For example ...
$html_msg['EMAIL_TEXT_STATUS_PLEASE_REPLY'] = str_replace('\n','<br>', $message);
when I try to check orders from the admin ( back end ) of the site I get this error:
Parse error: syntax error, unexpected T_ELSE in /mounted-storage/XXXXX/XXXXX/XXXXXX/adultworld.net.au/store/admin/orders.php on line 114
I have included the .php file, if anyone knows how to solve this problem please reply.
Thanks