Support

Home Forums Event Espresso Premium Multiple events, one ticket type

Multiple events, one ticket type

Posted: August 30, 2020 at 9:32 am


channingstrom

August 30, 2020 at 9:32 am

Ref: https://eventespresso.com/topic/booking-slots/
EE4: We are doing timed ticketing to spread out entries through a single ticket booth. Ever 15 minutes we are offering 17 tickets. So set up 23 events, each limited to 17 tickets (and so have to set up 23 ticket types to match, correct?).
I need to do this for about 30 days: ie copy the whole day over and change the dates on each event and ticket(closing sales time). so 690 events.
Is there a more efficient way to think about this? ie if I have to make a change, i’m doing it 690 times? Am I looking for tricks to attach the event dates to auto populate?
Thanks
-Channing


Tony

  • Support Staff

September 1, 2020 at 6:08 am

Hi Channing,

Ever 15 minutes we are offering 17 tickets. So set up 23 events, each limited to 17 tickets (and so have to set up 23 ticket types to match, correct?).

Correct.

Is there a more efficient way to think about this? ie if I have to make a change, i’m doing it 690 times?

For your set up we don’t have a more efficient option without custom development.

Am I looking for tricks to attach the event dates to auto populate?

If you are comfortable with PHP you can use our model system to create some helper functions that may reduce the admin for this, for example, you could create a script to loop over X events and update all of the ticket ‘sale start’ and ‘sale end’ dates on those events.

The model system makes this much easier to do than rolling your own code from scratch, see:

https://github.com/eventespresso/event-espresso-core/tree/master/docs/G–Model-System


channingstrom

September 1, 2020 at 9:35 am

OK, as a follow up to this. In Calendar, I’d like to just show the event, not all the datetimes – 23 datetimes becomes just a list on each day, negates the usefulness of the calendar’s familiarity to people. They click on the date anyway. A way to do this?


Tony

  • Support Staff

September 1, 2020 at 3:16 pm

There’s a couple of options depending on the specifics of what you want output but this snippet:

https://github.com/eventespresso/ee-code-snippet-library/blob/master/addons/eea-calendar/jf_ee_calendar_display_first_datetime_only.php

Shows only the first datetime for an event on the calendar.

This snippet:

https://github.com/eventespresso/ee-code-snippet-library/blob/master/addons/eea-calendar/mn_group_datetimes_by_day.php

Groups the datetimes by day, so if you have multiple datetimes on the same date it will only display 1.

You can add either of those to a custom functions plugin on the site, we have some documentation on creating one here:

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


channingstrom

September 2, 2020 at 8:18 am

This is great. Thanks for that. I’m using the second snippet in git you provided. I’d love to simplify further by only showing the event name in the monthly calendar view. do you have a modifier to that snippet that would work….?


Tony

  • Support Staff

September 2, 2020 at 9:25 am

The above filter runs specifically on the query args so you can’t change how each element is output from that, we do have some options to reduce the content of the calendar in:

Event Espresso -> Calendar -> Basic Settings.

So you literally only want to display the event title and that’s it?

Set ‘Show Event Time in Calendar’ and ‘Enable Images in Calendar’ to remove the times and images.

You can then either hide additional details using CSS or dig into the FHEE__EE_Calendar__get_calendar_events__calendar_datetime filter to remove more.

The support post ‘Multiple events, one ticket type’ 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.

Event Espresso