Hamendra Sunthwal Posted August 21, 2020 Share Posted August 21, 2020 i am trying to implement dynamic order email template mapping based on order status when order status is changed from a custom grid, i am trying to find the controller or code which is responsible for the "resend email" button or send order email functionality which is in admin view order page. Any idea where would be that code for send mail ? Take a look at this picture for better understanding Link to comment Share on other sites More sharing options...
Guest Posted August 21, 2020 Share Posted August 21, 2020 ./classes/order/OrderHistory.php public function sendEmail $order_history = new OrderHistory ($this->order->current_state); $order_history->sendEmail(........ This is just a sample, not fully functional code. Link to comment Share on other sites More sharing options...
Hamendra Sunthwal Posted August 21, 2020 Author Share Posted August 21, 2020 Thankyou very much i have also found code here /prestashop/controllers/admin/AdminOrdersController.php Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now