These changes you're making will only work for HTML-formatted emails. They will have no effect on text-only emails.
Plus, $EMAIL_TO_ADDRESS is already generally available, so isn't really necessary to set up $EMAIL_CUSTOMER_EMAIL for that.
So, in your email template file, use $EMAIL_TO_ADDRESS instead
For TEXT-ONLY emails, you'd need to remove your other changes from order.php and change this instead:
Code:
//intro area
$email_order = EMAIL_TEXT_HEADER . EMAIL_TEXT_FROM . STORE_NAME . "\n\n" .
$this->customer['firstname'] . ' ' . $this->customer['lastname'] . "\n\n" .
EMAIL_THANKS_FOR_SHOPPING . "\n" . EMAIL_DETAILS_FOLLOW . "\n" .
to
Code:
//intro area
$email_order = EMAIL_TEXT_HEADER . EMAIL_TEXT_FROM . STORE_NAME . "\n\n" .
$this->customer['email_address'] . "\n\n" .
EMAIL_THANKS_FOR_SHOPPING . "\n" . EMAIL_DETAILS_FOLLOW . "\n" .
Bookmarks