Posted: February 4, 2014 at 3:00 am
|
Hello π Which file contains the final step of an registration? A description whats on the site 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. |
|
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. |
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 π |
|
|
When you click: – view cart 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? π |
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. |
|
|
Sure. I need the edit the table output. The line im talking is this: <event name> – General Admission 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. π |
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. |
|
|
Tony, that sounds great π I will return later on today, so i will keep the question open. Ill keep you updated π |
|
Super it works π Thanks again Tony. |
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 |
|
|
Ok thats godo information to have. Thanks again π |
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.