I don't know why return wasn't completed.
Return controller from admin is only to send email to customers when site admin edit a Return and update a status. As per message is the customer message
Code: Select all
// Text
$_['text_subject'] = '%s - Return Update %s';
$_['text_return_id'] = 'Return ID:';
$_['text_date_added'] = 'Return Date:';
$_['text_return_status'] = 'Your return has been updated to the following status:';
$_['text_comment'] = 'The comments for your return are:';
$_['text_footer'] = 'Please reply to this email if you have any questions.';
https://github.com/opencart/opencart/issues/9353
And based on @sw!tch modification you will never receive email as admin...when a customer make a return.
Because of
notify function you will receive email as admin, only when check notify option...but is too late, because return is registered in database already. So you need to keep an eye on Returns from admin.
A catalog controller should be created....for admin notification.