Posted: September 8, 2017 at 8:26 am
From customer: Hey there! I’m wondering if we can make a change to the export reservations option in Event Espresso. The problem is when there are multiple options to register for, you can see that on the main page but not when you export. But when you export it, you don’t know what they registered for. So we basically need “TKT Price” added to the export. |
|
Hi Dorian, That information is actually included in the CSV report. Specifically in the Ticket Name and the [REG_final_price] columns. Can you check to see if those columns are included in your reports? If they are not included, maybe there was a customization made that removes them? |
|
Would you happen to know the path to that customized file for the export? |
|
It would quite likely be within a custom plugin in wp-content/plugins or within your WordPress theme’s functions.php file. |
|
I remember a while back there was a certain EE file you can include certain columns and exclude others. |
|
The file that gets customized would not actually be within the Event Espresso plugin, or at least we don’t recommend modifying those. |
|
ah…yes it was the function.php….thanks! |
|
TKT Price is not in the spreadsheet. Or at least the class they register for….that is also not there. |
|
TKT_Price is not included, you can use the [REG_final_price] field for this. It’s the ticket price with any price modifiers applied.
What is this? The ticket name or the event name? |
|
We need it to show the Event name. Does [REG_final_price] show ht event name? |
|
Hi Dorian, [REG_final_price] does not. If you’re viewing registrations for a specific event, then name of the event will not be included as a column (redundant information because all of the registrations will be for that event). If you go to the Event Espresso > Registrations page, then filter by anything other than the event (like filter by date, month, category), then you’ll have a list of registrations for different events. When you click the Filtered CSV reports button on that view, the CSV report’s first column will include the event name. |
|
She doesn’t want so many columns in the export, so using the following… but need to know which field to use to show the event name. //only include these 4 columns in the registration CSV output ?> |
|
So you removed the Event column? To restore it, you’ll need to include |
|
September 11, 2017 at 10:20 am I did an export from another site and didn’t see the even in a column. Do I add ‘Event’, ? |
|
September 11, 2017 at 10:25 am Hi Dorian, When you did a report from the other site, was the page filtering by event? If so, there will not be an event column. You’ll need to view a registration list that has more than one event to see an event column. |
|
September 11, 2017 at 11:01 am Thanks, I’ll check… but for the code I have above, would I put ‘Event’, to show the event? |
|
September 11, 2017 at 11:07 am Yes you’ll include |
|
I added ‘Event’ and it did not work. |
|
Can you doublecheck your code modification? Also, please remember that if you’re pulling a registration list for a single event, the event column isn’t displayed which is by design. The event column only displays if it’s a list of registrations from many events. |
|
The other fields show in the export…just not events: <?php //only include these 4 columns in the registration CSV output ?> |
|
Hi Dorian, There seems to a miscommunication here about the reports and whether you’re getting a report of registrations from a specific event or it it’s a filtered report of registrations from many events. Again, and this is very important, if you’re getting a list of registrations from one event, then the event column is not displayed. |
|
She is doing this: When you click on approved registrations, the number. You then see all the registrations. Then click Event Registration CSV Report. |
|
That sounds like are clicking to view the registrations for a specific event, maybe this link – http://take.ms/VgJCT If so that’s a report for a specific event, we don’t include the event title within a report for a specific event as its redundant information. For example in the above your exporting registrations for a specific event (the approved registrations for a specific event to be exact), so an event title would simply repeat the name of that event over and over. If you go to Event Espresso -> Registrations and click the ‘All Registrations CSV Report’ you’ll export registrations for multiple events… then EE includes an Event column because you need to know which registrations go with which event. When you export registrations for a specific event, you already know which event they are for. |
|
September 13, 2017 at 10:20 am From customer: Hi Dorian, What you’ve explained below is not at all what I was asking ☹ I’m not trying to understand All registrations CSV. I’m trying to understand individual tickets inside a single event. I don’t want the name of the specific event to show on the report. As you said, that’s duplicate. What I’m trying to explain (not very well evidently) is that a single event may have two different tickets for that single event. I’m going to repeat what I said below again exactly. So single event, I’m choosing the 9U Speed event: 15 people reserved the home plate and 30 people reserved the 3 pumpkin stack. Now I need to know who those 15 and 30 peoples names are so that I can hand them the right door hanger….(Make sense?) So now I’m clicking on the 37 (Approved Registrations) and I get all their names and what they registered for which is good. But it’s hard to page through 37 registrations so we want to export it to excel, but when you export, you lose their individual ticket. You’ll see there is a “EVENT REGISTRATIONS” and a “FILTERED” but neither gives you the “ticket” that they registered for : |
|
September 13, 2017 at 10:46 am Right, so it sounds like they want the ticket name within the CSV, not the event name. You need to add ‘Ticket Name’ to your function above to include that within the CSV. If unsure of the correct column, I recommend removing your filter above, you can do that by just commenting out this line:
Then having them run an export and confirm which columns from the full export they want to keep. |
|
September 13, 2017 at 10:50 am I did mention this earlier in the topic, but it bears repeating:
Now that we seen your customization code posted, it’s evident that you did indeed remove those two items with your customizations. So the way forward with getting those two items added back is you’ll add the following to your custom array:
|
|
Thanks but it looks like this got messed up above: ‘Registration's |
|
Hi Dorian,
See also: |
|
Thanks! The code above worked! |
|
The support post ‘EE4 Export’ 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.