Posted: October 1, 2015 at 1:02 pm
|
I was hoping someone could help me find the way to make events expire when registration closes and there are no more tickets being sold. I’m using EE4 4.8.13.p, and WordPress 4.3.1 running Sydney theme. Currently, my events only expire when the final ‘datetime’ is past. This is a problem as I offer events which are multi-week classes and so the event remains ‘Upcoming’ and displays on my Events list long after it is impossible to sign up. Ideally, I would like to only see a list of ‘Upcoming’ events with start dates in the future, but not any ongoing events (classes) which are in session. I have searched this forum to see if this had been addressed but could not find a solution. It may be there but I couldn’t find the search query that would find the answer for me. Any and all help would be greatly appreciated. Cheers. |
Hi Joel, Automatic expiration for events are currently determined by the end date for a date time. You can have one or more tickets linked to a date time. Date time 1 – maximum of 60 registrants/attendees With the example above, any combination of tickets can be purchased but once “60” registrants/attendees is reached for the date time, then the event will become “sold out.” Then once the end date passes for the date time, then the event will be expired. — |
|
|
Thanks for getting back to me so quickly Lorenzo. I think I understand what you’re trying to tell me but it’s not exactly how I’m trying to use Event Espresso. I’ll give you an outline of what I’m looking to do and perhaps you can point me in the right direction. I offer music group classes which run for 4 or 8 weeks (1 hour per week). My clients register for the class before and up until the first class begins and pay for all sessions in the class up front. I’ve created a single event per class and added a new datetime for every week of the class and called them ‘First Class’ ‘Second Class’ etc. I don’t accept registration once the class has begun and so I’ve set the ‘Sell Until’ date to the beginning of the first class. The challenge I’m having now is that the events remain on my website long after the registration has closed and also creates clutter which makes it difficult to see the similar classes which have upcoming start dates. Perhaps you could recommend a best practice for using Event Espresso for the scenario I outlined above? I’ve tried filtering with Shortcodes but cannot find one that works the way I would like. Thanks in advance for your time. |
Hi Joel, Thanks for explaining further. I believe that you are trying to have Event Espresso expire events as soon as tickets sell out. However, the expiration condition does not depend on that. The event expires when the date time has passed. Could you provide a link to an event listing page and include two examples of events that should not be there? — |
|
|
Hi Lorenzo, Here is the event listing page on the site as it stands: http://www.ukeboxlessons.com/group-classes/ The first 2 events listed are good examples of classes which I would wish were no longer listed. Here they are: http://www.ukeboxlessons.com/group-classes/ukulele-ensemble/ I’m looking for the best way to setup my events and/or the listing page in order to only show events which have not begun (i.e. still selling tickets). Let me know what you think. |
Thanks. Lets take a look at this event: http://www.ukeboxlessons.com/group-classes/ukulele-ensemble/ It is listed as upcoming as there are upcoming dates (remaining sessions) for the event. You could try this: 1) Remove extra datetimes from the current event and them keep the first datetime. 2) Add the schedule to the event description (e.g. event takes place from this date to this date) 3) Add this code snippet to your theme’s functions.php file or through a site specific plugin: Note: if you have existing registrations for a datetime for an event, then you won’t be able to remove the extra date times since there are registrants/attendees registered. However, this could work for new events. Here is how it will work: Lets say that you have an event that takes place over the course of multiple weeks. You create the event today and then the first event date is October 15th. A registrant/attendee (student) will be able to purchase tickets from now till October 15th. After October 15th, the event will switch to expired which will remove it from the event listings page since you have that filter in place. — |
|
|
Hi Lorenzo, I’ve had to get some help but we used the option 3 code snippet that you recommended to get the site working the way we were hoping to. Thanks for the workaround. I wondered if there were any plans to develop Event Espresso in the direction of accomodating multi day classes in the future. Just wondering if the tools will eventually be built right in. In any case, thanks for the help. Cheers. Joel |
Hi Joel, No plans at the moment, but there may be a third party developer who may be interested in building an add-on to add the tools to help with a multi day class use case. |
|
The support post ‘How to make an event expire when registration closes’ 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.