Support

Home Forums Event Espresso Premium Group bookings

Group bookings

Posted: September 10, 2018 at 7:13 am


notjusttravel

September 10, 2018 at 7:13 am

Hi there,

When we export the CSV file, is there a way to have group bookings on the same row?

*To give more context, our example specifically is that we have people booking twin rooms and sharing the room with someone else. They are putting this through as a group booking and also inputting the name of the person they wish to share with. On the CSV download, it looks like this is two rooms booked rather than one, because it uses two rows for the order. We have the information already in a separate cell, in which they say who they’re sharing the room with.

Many thanks


Tony

  • Support Staff

September 10, 2018 at 9:26 am

Hi there,

I’m not sure how a single row would work for multiple registrations, but I have a snippet that will only export the ‘Primary Registrants’ and none of the others, would that work you?

So if you have a group booking of 2 people, only the user that entered the details on the ‘first’ ticket will show in the CSV.

You can add it to the site to test as it can easily be removed again:

https://gist.github.com/Pebblo/7177b8175241427913fb8fa426867e63

Add that to a custom functions plugin on your site:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

Then run an export and see if that works for you.


notjusttravel

September 12, 2018 at 2:51 am

Hi,
Thanks very much, that should work great.
Where do I add that code, what .php page?

event-espresso-core-reg/admin_pages/registrations/Registrations_Admin_Page_Init.core.php?

Thanks again.


Tony

  • Support Staff

September 12, 2018 at 3:51 am

No, you never want to change any of EE’s core files as it prevents us from providing support and will be lost when you update EE.

My reply above includes a link to directions on how to create a custom functions plugin which is where you would add the above code.

Follow the steps here:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

Create a custom function plugin, then add the snippet to that plugin and make sure its active on the site.

The support post ‘Group bookings’ 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  Tony 2 months, 1 week ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!
[i]
[i]