Jump to content

Adding new e-mail template to root mails/ dir using custom module


Recommended Posts

I created a new module that adds a new order state. I would also like to add my new email template to the folder with all templates (move file:  my_module/mails/en/my_email_template to app_main_dir/mails/en/ dir). I don't want to send emails from my module, I just want to add a new template using only my module. In creating a new order state, there is a "template => email_template" field where you need to indicate which email template will be sent by the order status, and templates that can be used are outside my module.

do you have any idea how to do it?

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