Loulou91 Posted January 12, 2017 Share Posted January 12, 2017 (edited) Hello everyone, I have created an email for a new order status, in this email I need to display the commade number and email address of the client. For the order number I found the variable {order_name} which works, however for the client email address, I searched, but I did not find anything, I tried {email} or { Email_client} but it did not work! I think {email} is not a global variable..! I think this variable should be declared in a file, but I do not know what file and in which part of the file I have to declare this variable!My new email is called "new_email.html" (and new_mail.txt) it is located in the folder "/ Mail / en" if anyone has the solution, thank you in advance for your help Loulou91 webmaster {novice} for https://www.vintagethique.fr Edited January 31, 2017 by Loulou91 (see edit history) Link to comment Share on other sites More sharing options...
yaniv14 Posted January 12, 2017 Share Posted January 12, 2017 You will need to create a module with hookActionOrderStatusPostUpdate and there you will need to get all related variables and submit the email. Link to comment Share on other sites More sharing options...
Loulou91 Posted January 31, 2017 Author Share Posted January 31, 2017 Hello, You can find the solution here: https://www.prestashop.com/forums/topic/587229-resolu-html-recuperer-ladresse-email-client-dans-une-commande/ 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