Support

Home Forums Event Espresso Premium Which file contains the final step of an registration

Which file contains the final step of an registration

Posted: February 4, 2014 at 3:00 am

Viewing 10 reply threads


Morten Mouritzen

February 4, 2014 at 3:00 am

Hello πŸ™‚

Which file contains the final step of an registration?

A description whats on the site
The page have the information that en email has been send.
The page have information about all the events im booked to.
The page have a total price.
The page DO NOT have any HTML input elements.
The registration is done.

I am only refering to multi events. So if there are 2 different *.php files where 1 handles single shopping, and the other handles multible, i am ONLY using multible.


Dean

February 4, 2014 at 4:47 am

Hi,

It should be the payment_overview.php unless you are wanting to edit the gateways that can be still visible on that page, in that case refer to gateways/gateway_display.php and the individual gateways.


Tony

  • Support Staff

February 4, 2014 at 4:49 am

Hi Morten,

I’m sorry, I’ not sure which page you are referring to.

Do you mean the Confirm Registration Page like this one: http://d.pr/i/EPPa

You mention multi events, is that through using MER (adding events to a cart) then checking out?

If you could provide a link or screen show so we can see the page in questions that would be great πŸ™‚


Morten Mouritzen

February 4, 2014 at 6:37 am

When you click:

– view cart
– Choose the amount of attendees (click the submit button)
– Put in ateendee information in the forms presented (click the submit button)

Now.. we are on a page with a overview.. its not payment_overview.php

There is generated a table with data about the booked events.

I need to edit that table.

What is the file? πŸ™‚


Tony

  • Support Staff

February 4, 2014 at 7:31 am

Hi Morten,

The file that outputs that table is a core file for Event Espresso, modifying it will likely have unexpected results further down the road.

Can I ask what you need to change? There may be a better way.


Morten Mouritzen

February 5, 2014 at 12:55 am

Sure.

I need the edit the table output.

The line im talking is this:

<event name> – General Admission
Attendee: <attendee name>

The issue is that between the “General Admission” and “Attendee” there are 3 or 4  . I need to remove them totally and do a standard space instead.

πŸ™‚


Tony

  • Support Staff

February 5, 2014 at 3:35 am

I see, in that case you will need to edit the function.

The file that outputs that table is event-espresso/includes/process-registration/add_attendees_to_db.php line 814/815

Due to that function being pluggable I would recommend copying from line 662 to 883 (so the whole function but not the if function_exists wrapper) and placing that within wp-content/uploads/espresso/custom_functions.php to override the default functions.

Then you can make any edits you would like to the function there and not lose them after each EE update.


Morten Mouritzen

February 5, 2014 at 3:38 am

Tony, that sounds great πŸ™‚

I will return later on today, so i will keep the question open.

Ill keep you updated πŸ™‚


Morten Mouritzen

February 5, 2014 at 3:44 am

Super it works πŸ™‚

Thanks again Tony.


Tony

  • Support Staff

February 5, 2014 at 5:44 am

No Problem Morten πŸ™‚

One thing to note as I’ve noticed in your previous threads you have a few modifications. When you modify the template/functions within Event Espresso and store them within wp-content/uploads/espresso/ you are effectively overriding the Event Espresso ones. From time to time you’ll want to compare your custom function/template with the original within EE and bring them up to date with any new changes we have made.

Also when moving templates any files with _display within the name will also have a ‘partner’ file. If you modify _display and copy it to uploads/espresso/templates/ you must also copy the partner file in order for it to work correctly.

For example event_list.php & event_list_display.php


Morten Mouritzen

February 5, 2014 at 5:54 am

Ok thats godo information to have. Thanks again πŸ™‚

Viewing 10 reply threads

The support post ‘Which file contains the final step of an registration’ 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