Support

Home Forums Event Espresso Premium Adding custom fields to Payment Receipt notice that is emailed to admin

Adding custom fields to Payment Receipt notice that is emailed to admin

Posted: October 8, 2015 at 4:52 am

Viewing 4 reply threads


Chris Smedley

October 8, 2015 at 4:52 am

Hi

We’d like to add these fields to the email that goes out to the administrators so that they can build up their database of who is coming to the event.

Name
Job Title
Company
Phone number
Email

Please can you advise us on the short codes that we need to use.

Thanks

Chris


Lorenzo Orlando Caum

  • Support Staff

October 8, 2015 at 8:11 am

Hi Chris,

Login to your WP dashboard and go to Event Espresso –> Messages. Look for the Event Admin message type and then click on it.

The next screen will be the messages editor. Add the following shortcode to the TO field:

[CO_FORMATTED_EMAIL]

The above shortcode will send to the email address that is set in the general settings page for Event Espresso.

Next copy the shortcodes below and paste into the Event List area:

[PRIMARY_REGISTRANT_FNAME] [PRIMARY_REGISTRANT_LNAME]
[PRIMARY_REGISTRANT_ANSWER_*Job Title]
[PRIMARY_REGISTRANT_ANSWER_*Company]
[PRIMARY_REGISTRANT_ANSWER_*Phone number]
[PRIMARY_REGISTRANT_EMAIL]

Then save changes.

First name, last name, and email are system questions so they have their own shortcodes. Job Title and Company are custom questions so you are using a dynamic shortcode to retrieve that information.

There is a system question available for phone number that can be retrieved by using this shortcode:

[PRIMARY_REGISTRANT_PHONE_NUMBER]

However, if you are not using the system question and are using a custom question, then you’ll need to use this one instead:

[PRIMARY_REGISTRANT_ANSWER_*Phone number]

It should look like this based on what you have shared:

http://cl.ly/image/202U242d0529


Lorenzo


Chris Smedley

October 12, 2015 at 5:37 am

Hi Lorenzo

Here’s a response/question from my programmer:

‘I want to check that I have correctly understood how to customise a message template.  I am working on the email payment received template.

I want to show details of each attendee in this email.  Can I check that this is correct:

In the main content area, somewhere I need to add [ATTENDEE_LIST]

In the [ATTENDEE_LIST] area I then want to show each attendee’s name, job title (question), company (question), phone number (system) and email (system).  To do this I would use the following:

[FNAME] [LNAME]
[ANSWER_Job Title]
[ANSWER_Company]
[PHONE_NUMBER]
[ATTENDEE_EMAIL]

In the previous ticket you said to use the PRIMARY_REGISTRANT shortcodes in the Event List area.  As I want ALL attendees I hope this is the right approach.

Please can you confirm this is what I should be doing or let me know what I need to do differently.’

Many thanks

Chris


Lorenzo Orlando Caum

  • Support Staff

October 12, 2015 at 9:13 am

Hi Chris, those steps look good. The custom answer shortcodes need an asterisk and they are case sensitive:

[FNAME] [LNAME]
[ANSWER_*Job Title]
[ANSWER_*Company]
[PHONE_NUMBER]
[ATTENDEE_EMAIL]

For example, if the field is “Job Title” then use Job Title included capitalization and spacing.


Lorenzo


Chris Smedley

October 13, 2015 at 1:58 am

Hi Lorenzo

Thanks for this, we’ll test this out today.

All the best

Chris

Viewing 4 reply threads

The support post ‘Adding custom fields to Payment Receipt notice that is emailed to admin’ 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