Posted: September 10, 2018 at 7:13 am
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.
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:
Add that to a custom functions plugin on your site:
Then run an export and see if that works for you.
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:
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.