All email notifications working perfectly... BUT
1. When customer book Order Return, No email is triggered to customer and admin
2. When return order status history is updated with Notify Customer, No email is sent...
What can be solution for this ?
In admin - > extensions - > events, do you see at least 33 events?What can be solution for this ?
In admin - > systems - > settings - > edit settings - > mail tab, at the bottom, are the checkbox options selected? On the top of that tab, are your email settings properly configured?
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Yes,straightlight wrote: ↑Wed Jul 11, 2018 7:47 pmIn admin - > extensions - > events, do you see at least 33 events?What can be solution for this ?
In admin - > systems - > settings - > edit settings - > mail tab, at the bottom, are the checkbox options selected? On the top of that tab, are your email settings properly configured?
1. There are 33 events are seen...and all are enabled.
2. Checkboxes are selected, email setting is also configured properly.. (other emails lie Order Status update etc are working...)
find:
Code: Select all
if (isset($args[3])) {
$notify = $args[3];
} else {
$notify = '';
}
Code: Select all
$this->log->write('Return Mail Log Notification: ' . htmlspecialchars_decode($notify));
Code: Select all
$mail->send();
Code: Select all
$this->log->write('Return Mail Log Event: ' . var_dump($mail));
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
I have made changes as per your suggestion and tried... But nothing is shown in error log file....Retry the return again in your admin. Then, check your OC error logs for a line beginning with: Return Mail Notification and: Return Mail Log Event . Do you see them?
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Yes, It is enabled....
find:
Code: Select all
$data['footer'] = $this->load->controller('common/footer');
Code: Select all
echo 'test123';
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Yes Test123 is echoed properlystraightlight wrote: ↑Wed Jul 11, 2018 10:14 pmLet's run a cache test. From admin/controller/common/dashboard.php file,
Log file is not totally empty...some errors with last 8 day's date are seen...And that errors are now sorted out by me..
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Hmm...Tried... But till same issue....straightlight wrote: ↑Wed Jul 11, 2018 10:49 pmClear your error logs by using the clear button on the top right of the error logs page and try the return action again. Then, see if the new messages appears in the error logs afterwards.
No EMail Triggered,
Error log is empty
Code: Select all
$data['footer'] = $this->load->controller('common/footer');
Code: Select all
$this->log->write('Test123');
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Ohh... Okkstraightlight wrote: ↑Wed Jul 11, 2018 11:56 pmIssue already reported and resolved on GitHub: https://github.com/opencart/opencart/co ... 12275c286b . Try this solution (admin/controller/mail/return.php file only). Not to forget to do these steps afterwards before retrying the return action: viewtopic.php?f=176&p=728050#p718325
Thank you for kind support
Run this SQL query to fix:
Code: Select all
UPDATE `oc_event` SET `trigger` = 'admin/model/sale/return/addReturnHistory/after' WHERE `code` = 'admin_mail_return'
Advanced Professional Email Template
Customers Pre-Sale. Inc abandoned cart email
Order Follow-Up Email. Inc request review
Email Validation with ZeroBounce
I just tryed this SQL request, now I have admin_mail_return with :
Déclenchement
admin/model/sale/return/addReturnHistory/after
Action
mail/return
But still no mail received. Am I missing something ? I am currently running OC 3.0.2.0 as the original author.
Mail server part is correctly set, because I receive other mails, but still not alert when a return is open.
Thanks for your help !
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Get a secure, fast, and reliable web hosting service from https://turnuphosting.com.
Unbelievably Rather typically, three years later and 5 versions on, this bug is still in 3.0.3.3.opencart-templates wrote: ↑Fri Dec 07, 2018 4:47 amCheck the event trigger for admin_mail_return just fixed an issue similar where the trigger was: admin/model/sale/return/addReturn/after
Run this SQL query to fix:Code: Select all
UPDATE `oc_event` SET `trigger` = 'admin/model/sale/return/addReturnHistory/after' WHERE `code` = 'admin_mail_return'
I wish Opencart was better
I have tried both above mentioned fixes and the extension, none of them worked. Has any of you got the issue resolved? @vaidyamanishjoshi, @julian70400fegdeed wrote: ↑Thu Jun 20, 2019 2:59 amTry the extension in this link https://www.opencart.com/index.php?rout ... load_id=55.
Opencart 3.0.2.0
Users browsing this forum: GoGo OpenCart, Semrush [Bot] and 140 guests