Admin history update block calls : index.php?route=api/order/history
From here function history check for order info and calls
function addOrderHistory updates order history, in this whole process json data is updated and returned back to calling page. Admin page will show message if success and status is updated. In this process i did not found any code block that calls mail order page for sending mail if notify is selected. But mail is being sent.
i want to find out the exact code that calls mail function if notify is selected. Can someone help me with this.
The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.
Programmer / Opencart Tester
https://github.com/opencart/opencart/bl ... /order.php
You can view your events in the Admin -> Extensions -> Events and further read on what @straightlight linked for usage.
Full Stack Web Developer :: Send a PM for Custom Work.
Backup and learn how to recover before you make any changes!