Jump to content

How can i find responsible code for “resend email ” in order view page admin in prestashop?


Hamendra Sunthwal

Recommended Posts

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

orderpage.png

Link to comment
Share on other sites

./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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...