Support

Home Forums Event Espresso Premium Hiding event dates on email confirmation

Hiding event dates on email confirmation

Posted: October 10, 2023 at 2:07 am


Zoe

October 10, 2023 at 2:07 am

Hello all, we need to hide/remove the dates/times section from the registration confirmation email please – what’s the best way to do that?

Ideally we’d only hide it for specific events, but removing it completely would also work!

Thanks ๐Ÿ™‚

Zoe


Tony

  • Support Staff

October 10, 2023 at 4:13 am

Hi Zoe,

So the way I would do this for specific events would be to create a custom message template with the DateTime output removed… then select the template(s) on the event(s) you want to hide the dates from.

To do that go to:

Event Espresso -> Messages -> Default Message Templates.

(Note that IF you wanted to remove the date from ALL events, you can edit the default template here. The default template is used by all events by default (hence the name :)) so changes to that apply to all events using the ‘global’ templates)

Find the template in the list, In this case, I think you need the ‘Registration Approved’ message template, that’s the ‘confirmation’ email and click on the icon for that template to crate a custom version.

(Custom templates are just templates that would differ from your ‘global/default’ templates and allow you to select them on specific events)

That’ll create a custom template and take you to edit that template. The first thing I always recommend is giving the template a meaningful name and description and hitting save. I’ll use “Registration Approved – No Date” just so it’s easily identified.

For the Reg Approved message it’s going to show the ‘Primary Registrant’ context first (see more info on message contexts HERE) and in general people don’t use that template. Switch to the Registrant context (the link for message contexts explains how to do that).

Dealing specifically with the section that would output the datetime details here, look for the [TICKET_LIST] section, you’ll see it calls the[DATETIME_LIST] shortcode. Remove the whole section that calls DATETIME_LIST, like so:

https://monosnap.com/file/ax85qHfglRetooc4baNLoooeVwv9pA

Save your template again.

—-

Now edit the event you don’t want to include dates in.

In the notifications section, look for the ‘Registration Approved’ message.

Select the custom template you just created in the dropdown and save.

https://monosnap.com/file/24bhNLytB7y520WEEBpp9VCN1qHgcc

Add a test registration to trigger the emails and confirm:

1. You got the custom message template on your email.
2. It didn’t include date details, if somehow it does, Ill need to see it to know what you need to edit.


Zoe

October 10, 2023 at 8:07 am

Perfect thanks Tony, that’s exactly what I needed!


Tony

  • Support Staff

October 10, 2023 at 8:56 am

You’re most welcome ๐Ÿ™‚

The support post ‘Hiding event dates on email confirmation’ 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