Home Forums Event Espresso Premium Changing order of Registration list on Thank You Page – EE4

Changing order of Registration list on Thank You Page – EE4

Posted: March 22, 2016 at 5:28 pm

March 22, 2016 at 5:28 pm

Hi there,

I noticed that the Registration Table displays the registrants in alphabetical order and I’d like to display them in the order they were entered. I have looked through this template:

But I’m not sure how to make the change.

I also see it referenced on this topic:

But I can’t seem to locate that file (it might be EE3?).

Thank you!


  • Support Staff

March 24, 2016 at 6:34 am

Hi Eddy,

Yes that link is for EE3 so it won’t apply.

You’ll need to tell EE to order the results of:

$registrations = $transaction->registrations();

by the REG_count value, you can do that by changing the above line (line 12 within the template) to:

$registrations = $transaction->registrations( array( 'order_by' => array( 'REG_count' => 'ASC' ) ) );

March 28, 2016 at 6:10 pm

Thank you that worked perfectly. Now that I’ve changed this file, where should I place it so I’m not overriding the core plugin?


  • Support Staff

March 29, 2016 at 3:53 am

Apologies, I assumed you had already copied the template.

You’ll need to place that template within the root directory of your current theme, if you are not using a child theme I would recommend creating one and use that so you can also update your theme without losing custom templates.

March 29, 2016 at 12:48 pm

Ahh thank you!

The support post ‘Changing order of Registration list on Thank You Page – EE4’ 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.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3 Documentation for Event Espresso 4

Status: closed

Updated by 4 years, 2 months ago ago

Topic Tags


This topic is:
Do NOT follow this link or you will be banned from the site!