Jump to content

Overriding Core email templates - Prestashop 1.4.x


Recommended Posts

Prestashop Version: 1.4.x

 

 

I need to modify the core email template, for example order_conf.html and order_conf.html for a specific payment module.

 

Option 1:

Create the module name folder in themes likes this:

- / themes / [theme_name] / [modules] / [module_name] / mails / [lang_folder] / order_conf.html

 

And then I modify the template .

 

OR is it like this:

 

Option 2:

- / [modules] / [module_name] / mails / [lang_folder] / order_conf.html

 

Which is which?

Edited by 7php.com (see edit history)
Link to comment
Share on other sites

An update:

I went through the codes of the core in Mail::Send()

 

I confirm it should be like this:

/ [modules] / [module_name] / mails / [lang_folder] / order_conf.html

 

BUT, the templatePath is still showing the default: / mails / [lang_folder] / order_conf.html

Any hint?

 

I'm trying to debug this.. will report back when I find something.

But if you drop by in here and have a hint, do make a comment ;)

 

Cheers!

Link to comment
Share on other sites

×
×
  • Create New...