Support

Home Forums Event Espresso Premium Multiple datetime event still showing up in the eventstable after the first date

Multiple datetime event still showing up in the eventstable after the first date

Posted: October 29, 2016 at 10:34 am

Viewing 9 reply threads


Oguzhan Altun

October 29, 2016 at 10:34 am

Hello,

We have more and more trainings with multiple datetimes, mostly classes that take several sessions over a month to finish. And we use the table view template to show the available courses.

Here is the problem: even after the first session, these events continue to show up in the events table as if it’s still for sale (however it says N/A in the price column). They only disappear after the final session is done.

You can check an example here: https://www.genevaphotoclub.com/dates-prices/
Check the event on Oct 31st, which actually already started on Oct 24th.

So my question is how can I stop these events from showing up in the table after the first session starts? Because that’s when actually it’s not possible any more to join these events.

Thanks in advance,


Josh

  • Support Staff

November 2, 2016 at 5:31 pm

That’s going to be tricky because if I remember correctly, that’s a heavily customized template. May I ask are you setting the Ticket sales end date to match the first day of the class?


Oguzhan Altun

November 3, 2016 at 10:52 am

Hi Josh,

For this event, that was the first thing i checked. The “sale until” date is actually the first day of the class… Here is the screenshot of the edit event screen:
http://screencast.com/t/AO2CDeahiCo


Josh

  • Support Staff

November 3, 2016 at 2:54 pm

The next thing to check is whether this issue happens with the default template or not.


Oguzhan Altun

November 4, 2016 at 12:10 pm

Hello,

So I tried with the default template. Here is the result:
https://www.genevaphotoclub.com/test-dates/

The events which have already started still shows in the list, and their dates on this table are the next sessions:
http://screencast.com/t/1x1HTdLR

I think that’s because EE4 still classifies them as upcoming even though the start date has passed:
http://screencast.com/t/vXIwqSTkaTAt

Here are the event details for the first event in question:
http://screencast.com/t/scqp1uG2

How to proceed?


Josh

  • Support Staff

November 11, 2016 at 1:50 pm

I’d recommend not remove those upcoming classes and the reason to not remove them is because those events still have upcoming dates, and their inclusion in that list does need to indicate they are still for sale.

For example, let’s say I’ve signed up for your “Weekday Beginners Photography 5x2hrs – Oct 31-Nov 28” and I forgot which time I’m supposed to attend the next upcoming class. So I go to your website to check and if that class is no longer in that list, I may think the next upcoming classes have been cancelled!

A better approach would be to fix the logic in your custom template so that events that can’t be booked anymore no longer display “Book Now”. You can see where on the default template, it displays “Sold Out” when an class can no longer be purchased.


SeaLight

November 12, 2016 at 5:44 am

I’m having the same issue with my client as well. I’m trying to figure out a custom table setup to show the ‘start date’ and ‘next class’ since they have 4-6 classes on future dates similar to your scenario. Table view with 2 dates


SeaLight

November 12, 2016 at 5:46 am

Table view with two dates


Oguzhan Altun

November 13, 2016 at 6:08 am

Hello Josh,
What you describe is actually not an issue for us, since we have small groups and the instructor always creates an email group with the participants in the first session for all the updates / changes etc.

So it would be a better solution for us if the event wouldn’t show up in the list at all after the first session. Would that be possible?


Josh

  • Support Staff

November 15, 2016 at 11:00 am

You can add the following code to a functions file or custom functions plugin:

https://github.com/eventespresso/ee-code-snippet-library/blob/master/templates/de_ee_filter_events_out_with_expired_tickets.php

What that will do is filter out any classes that no longer have tickets for sale.

Viewing 9 reply threads

The support post ‘Multiple datetime event still showing up in the eventstable after the first date’ 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