Support

Home Forums Event Espresso Premium Email Template Location

Email Template Location

Posted: January 29, 2019 at 11:09 am


terabit

January 29, 2019 at 11:09 am

Hi there,

Can you please point me the code location that getting the selected email message template before sending after the payment is completed?

or is there any filter or action hook to override the email message template?


Tony

  • Support Staff

January 29, 2019 at 11:44 am

Hi there,

From the above I’m not sure which email you are referring to, assuming you have one of the emails after it has been sent can you let me know the ‘subject’ of the email, please?

The emails can be edited rom within the admin:

Event Espresso -> Messages -> Default message templates.

But which email you need to edit isn’t clear.

After the payment is made and the registration switches to Approved would be the ‘Registration Approved’ message type.


terabit

January 29, 2019 at 12:26 pm

Hello Tony,

The reason I am asking for the code is that we need to add e.g French Version of Registration Approved. I understand this plugin does not support translation.
What I am trying to do is described above
Customer Registration Approved message id 5,
when the system trying to send this message, I will swap to message id 6(French version of the same message).

Thanks.


terabit

January 30, 2019 at 10:23 am

Hi Tony,

can you please help?

Thanks


Tony

  • Support Staff

January 30, 2019 at 11:19 am

Hi there,

I’ve requested some feedback from our developers on this to confirm.

However, just to note, EE does support translation, you can use EE in multiple languages, but you can only currently use a single language across the install, nor multiple languages.

I’m curious as to how you have this set up, do you have a say an English event, and then another event in French? (which are essentially the same event just translated?) If so you can just create a custom message template and assign the correct template to each individual event.

The English event would obviously the English template assigned to it, the French has the French template and there’s no need to add additional code.

Or do you have this setup differently?


terabit

January 31, 2019 at 8:03 am

Hi Tony,

Thank you for your reply. In order to display an English and French for the Event properly, I am writing the script to render the event and use PO file to do some translation using the WPML plugin. for the email, I cannot find the location that gets the selected email message template before sending after the payment is completed. I would like to detect that action so I can switch an English template to French’s. Please let me know if you have any news for us. It is quite urgent.
Thank you for your help.


Tony

  • Support Staff

January 31, 2019 at 10:21 am

Hi terabit,

I checked with our developers and currently, there’s no way to filter the template used in the way you need to as it stands.

I’ve created a feature request ticket to see if we can add one in a future version.


terabit

January 31, 2019 at 11:10 am

Thank you Tony

The support post ‘Email Template Location’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso