marion v Posted February 15, 2017 Share Posted February 15, 2017 Hello everyone ! I cant find how to get the right var corresponding to a special field in form contact. I translated the field but in translation module this is the 'order reference' field. I tried de the following vars in emails models : {order_name} -> returns ' - ' in the mails {id_order}, {order_reference} dont seem to exist. I've to tried to find it in the contact-form.tpl but I cant find the right var. Can you help me pls ? Tks a lot ! Marion Link to comment Share on other sites More sharing options...
BalzoT Posted February 20, 2017 Share Posted February 20, 2017 Can you describe a little more in detail what are you trying to do? the email variables are not included in tpl files. They are included in the mails folder in html files! Link to comment Share on other sites More sharing options...
marion v Posted March 2, 2017 Author Share Posted March 2, 2017 Actually I would like to know the name of the variable that iq hidden under a field in the contact form, so i can put this var in the mails when this field is written. I dont know if i'm understandable Tks ! Marion Link to comment Share on other sites More sharing options...
BalzoT Posted March 2, 2017 Share Posted March 2, 2017 As far as I can understand you have to take a look in the ContactController.php. That is the file which creates and assigns the variables in the emails of the contact form. 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