Support

Home Forums Event Espresso Premium How to add "date of transaction" to registration email

How to add "date of transaction" to registration email

Posted: March 21, 2016 at 12:52 pm


Carolyn

March 21, 2016 at 12:52 pm

Hello All,
I need to add the date that the registration was made (i.e. transaction date) to the registration confirmation email. This has been requested by my registrants in order to obtain reimbursement for the registration.
Is there a shortcode for this?
If not, how do I call this data?
Thanks!
Carolyn


Tony

  • Support Staff

March 21, 2016 at 1:51 pm

Hi Carolyn,

Can you let us know if you are using EE3 or EE4 please?


Carolyn

March 21, 2016 at 3:31 pm

oops! sorry (little frazzled). ee3


Tony

  • Support Staff

March 22, 2016 at 4:46 am

Currently there is no shortcode available to output the reg_date, however the shortcodes are filtered so its really easy to add your own custom shortcodes.

I had a plugin that I’d already made for this (to add a different shortcode) so I’ve adapted it to pull in the reg date, take a look here:

https://gist.github.com/Pebblo/0f6c5fdcd31f572c7bf1

That’s wrapped up as a Site Specific Plugin so you can download and install that plugin to your site.

It adds a [reg_date] shortcode to the confirmation emails.

Hope that helps.


Carolyn

March 22, 2016 at 11:41 am

thanks tony! i’ll give this a shot later and get back to you on how it worked out.

carolyn


Tony

  • Support Staff

March 22, 2016 at 1:09 pm

You’re most welcome, Carolyn.

Please let me know if you have any problems.

The support post ‘How to add "date of transaction" to registration email’ 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