Looping through MEC Bookings and Tickets

I’m trying to set up a custom page that lists MEC Bookings (because, MEC’s reporting features leave a lot to be desired, TBH).

I’ve got ALL bookings listed using this Query String:

post_type=mec-books&orderby=ID&order=DESC&meta_query%5B0%5D%5Bkey%5D=mec_event_id&meta_query%5B0%5D%5Bvalue%5D={{dc:url:param key=“event” fallback=“6584”}}&meta_query%5B0%5D%5Bcompare%5D=%3D

But this site often has different ticket types for each event. Can we make build a query or string that lists the bookings by each ticket type? I’ve already got the ticket types listed by setting up a Looper with this DC:
{{dc:post:meta key=“mec_tickets”}}

Thanks!

Hi @cgMultimedia,

Thanks for reaching out.
If we are able to understand your requirements, you are trying to group the events based on the Event Types, if that has multiple values. If that is the case, you can use the group by clause with the specific field name in the Query String. You can also follow the way described in the following thread.

If that is not the case and you are trying to point out something else, please provide a screenshot marked with the issue or any video that helps us to recognize the problem.

Thanks