Raaert Posted October 31, 2014 Share Posted October 31, 2014 Hi, I want to add the 2 fields {carrier} and {planning} from the shops "new order" mail to the customers "payment accepted" mail. How can this be achieved? It seems i have to define/add the variables to a mail handler for the mail template to know the information corresponding to the variable - but where? Link to comment Share on other sites More sharing options...
Raaert Posted November 3, 2014 Author Share Posted November 3, 2014 No one knows this? Link to comment Share on other sites More sharing options...
Eolia Posted November 3, 2014 Share Posted November 3, 2014 go in classes/order/OrderHistory.php -> public function addWithemail() and assign your datas here : $data = array( '{lastname}' => $result['lastname'], '{firstname}' => $result['firstname'], '{id_order}' => (int)$this->id_order, '{order_name}' => $order->getUniqReference() ); 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