Support

Home Forums Event Espresso Premium Questions about using multiple datetimes for weekly group

Questions about using multiple datetimes for weekly group

Posted: May 14, 2020 at 8:39 am


Nick

May 14, 2020 at 8:39 am

Hello,

I am planning to run a weekly group, for a maximum of 8 people. People will need to sign up for one session (week) at a time and tickets won’t go on sale until the end of the current week’s session. There will be 6 price points for each session (week).

The reason for using multiple datetimes on one event rather than duplicating events is that I would like there to be one single page for the weekly group, rather than a different page for each group, i.e. I would like the URL to be consistent, with the sense that it’s the same group, which the same people can sign up to each week if they would like to do so. If the only way of achieving what I would like to achieve is to create separate events I could do so, if there was a way of dynamically forwarding the static URL for the group to the specific event page for the next week, but I’d rather use one event if possible.

You can see the state of where I have got to so far on this page.

Ideally I would like to just show the date of the next upcoming meeting (rather than all the dates), which would update dynamically, once the datetime for the previous event has passed. Is this possible?

Also I would like to just see the tickets for the upcoming event in the ticket selector, or alternatively have a drop down menu, where people can select their price point for the event that they are currently able to book for (with the other drop down menus showing as ‘Goes on Sale…’. As I have 6 price points for each event, there would be too many tickets showing if I don’t use one or other of these methods to limit the number of tickets displayed. Is it possible to do one or both of these things?

I hope this is clear, and would be glad of some help!

Thanks,

Nick


Tony

  • Support Staff

May 15, 2020 at 4:12 am

Hi Nick,

Ideally I would like to just show the date of the next upcoming meeting (rather than all the dates), which would update dynamically, once the datetime for the previous event has passed. Is this possible?

It is possible, but you’ll need to alter the template used to display the datetimes, which would affect all events.

So, before going into details, do you want all of your events to only display a single datetime like above or just this one?

Also I would like to just see the tickets for the upcoming event in the ticket selector, or alternatively have a drop down menu, where people can select their price point for the event that they are currently able to book for (with the other drop down menus showing as ‘Goes on Sale…’. As I have 6 price points for each event, there would be too many tickets showing if I don’t use one or other of these methods to limit the number of tickets displayed. Is it possible to do one or both of these things?

We don’t have an option to only pull active tickets into the ticket selector currently, but you can hide them using CSS:

.tkt-slctr-tbl .ticket-pending {
    display: none;
}

OR there is an option to filter datetimes/tickets within the page if you go to:

Event Espresso -> Events -> Templates.

At the bottom of the page is the ‘Ticket Selector Template Settings’ section.

Set the option ‘Show Date & Time Filter?’ to ‘Maybe show date & time filter’

Below that is ‘Date & Time Filter Threshold’, that option determine if the above shows based on the number of unique datetimes you have. So in your case if you set that to 3 it would show before you have more than 3 unique datetimes on that event, you may want a higher value to prevent it showing on other events.

With that enabled, you’ll have a filter on the ticket selector to display specific tickets for specific datetimes (don’t use the above CSS if using the filter).

Does that work for you?


Nick

May 15, 2020 at 4:37 am

Thanks Tony. The CSS works fine and if I add:

ul#remaining > li:not(:first-child) {
display: none;
}

It hides all but the first ‘remaining tickets’ list item.

I can’t test the other method at the moment as I have an error showing on my site when I try to access events pages in the back end (that’s the next job!), but I will give you feedback on this method once I have sorted the error.

As for your other question, all of my other events only have one event datetime. I suppose I could use CSS again to hide all of the other dates:

ul.ee-event-datetimes-ul li:not(:first-child) {
display: none;
}

But would this automatically update to the next week’s event once the time of the current week’s event has passed? (I assume that this is what would happen with the ticket selector). But, maybe there is a better method here?

Nick


Tony

  • Support Staff

May 15, 2020 at 5:34 am

But would this automatically update to the next week’s event once the time of the current week’s event has passed?

Expired datetimes don’t show in the list, so that CSS would actually work.

Test it by adding an additional datetime to the event and setting the Event start and event end to a date in the past, then move that datetime to the top of the list in the datetime editor and confirm it doesn’t show.

(I assume that this is what would happen with the ticket selector)

In Event Espresso -> Events =-> Templates -> Ticket selector template settings.

Make sure ‘Show Expired Tickets?’ is set to No. You expired tickets will be removed and your ‘upcoming’ tickets will no longer be upcoming, so no longer have the .ticket-pending class and therefor no longer hidden.

But, maybe there is a better method here?

There are, for example, you could use a custom template to specific call only the next single upcoming DateTime.

It would also work better if the ticket selector would be set to only pull ‘active’ tickets but right now I don’t think it can be, I’ll check into this.


Nick

May 15, 2020 at 5:38 am

Thanks again Tony. I will experiment further and will get back to you, and if in the meantime you come up with anything else, please let me know!


Nick

May 15, 2020 at 9:11 am

Hi Tony,

Having experimented further, I can confirm the following:

1. The filter for datetimes is not suited to my needs, as I want the user to only be able to see and book tickets for the next meeting, so I am using the CSS method.

2. Expired datetimes don’t show in the list of datetimes and also, with the setting to not show expired tickets in the Ticket selector template settings, everything looks how I would like it to.

3. Still not 100% clear about custom templates for some EE events and not others, as per by other recent post on the forum here, but as I have things working with a bit of customisation to the custom templates I am using and and some custom css, I am going to stick with this for now and see how it goes.

Thanks for your help,

Nick


Tony

  • Support Staff

May 15, 2020 at 9:16 am

No problem, I’m glad you found something that works for you.

You must be logged in to reply to this support post. Sign In or Register for an Account

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3 Documentation for Event Espresso 4

Status: publish

Updated by  Tony 2 months, 3 weeks ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!