Jump to content

Where can I modify the parameters for email templates?


Recommended Posts

I'd like to add some parameters to the order_canceled, outofstock, payment, payment_error, refund, and shipped email templates. However when I search through the Prestashop code, I cannot find where these emails get called. For exampled, when I search my entire Prestashop folder for the word 'order_canceled' it comes up with no results. And I also looked at every instance of Mail::Send and I don't see those email templates every being called, yet I know they are getting called from somewhere because these emails are getting sent out.

 

Thanks,

Justin

Edited by justinl (see edit history)
  • Like 1
Link to comment
Share on other sites

Up !

I'm also interested to modify the emails sent to the customer. Is there any one who is able to provide any information ?

I would like to add special variable inside the email template.

I know there are the email templates in the mail directory, but Where to declare the functions which create the variables ? Where are the emails are called ? I know that for the confirmation email, in the class "PaymentModule.php" we create variables which will be used in the "template" order_conf.html. What about the others ?

 

Thanks by advance.

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