Support

Home Forums Event Espresso Premium Event showing as able to register instead of sold out

Event showing as able to register instead of sold out

Posted: October 27, 2018 at 3:21 pm

Viewing 5 reply threads


cfeichter

October 27, 2018 at 3:21 pm

I have an event that should be showing as Sold Out on the calendar, but still shows Register. All of the ‘Sell Until’ are set to 11pm 10/26, and it is now 5pm on 10/27, so it has always updated the calendar to show as Sold Out when we do that. It has never done this before this event that I am aware of. I was on the .68 version of EE4 so I updated to .69 but that did not resolve the issue. When people click on register, all of the ticket options show as Expired, but it is annoying our clients 🙂


Tony

  • Support Staff

October 29, 2018 at 6:22 am

Hi there,

Can you let me know which event this is so I can take a look, please?


cfeichter

November 1, 2018 at 1:00 pm

Our class registration deadline is always 2 days prior to class, so the Nov 1st and Nov 2nd classes should both read as SOLD OUT.

http://brazenbrush.com/calendar-of-classes/


Tony

  • Support Staff

November 2, 2018 at 5:55 am

This is due to a change we made to the Event Table view template a little while ago.

The ‘sold out check’ performed on the table view template can be fairly resource intensive and we had reports of it causing issue for users that had a lot of events or events with high numbers of ticket types within them so we changed it to a simple check on the event status to confirm if it was sold out.

The quick fix that you can do right now if you are using a child theme (or a custom theme that you control) is to copy the template view template into your themes root directory and switch the check back to the previous one, to do that, copy:

/wp-content/plugins/eea-events-table-template/templates/espresso-events-table-template.template.php

To your theme, which will usually be /wp-content/themes/{theme_name}

Then edit the file and change line 97 from this:

if ( $event->is_sold_out() ) {

To this:

if ( $event->is_sold_out() || $event->is_sold_out(TRUE ) ) {

That will restore the functionality you are looking for.

I’m going to create a ticket to add a conditional check for this in a future version of the table view template so we get the same functionality, without the above check.


cfeichter

November 5, 2018 at 11:05 am

OK, I will run that by my IT dept (aka husband!), but wouldn’t it make sense that if ALL tickets for an event have expired that the event on the calendar/list should read as EXPIRED (or closed, or something similar) as well? Doesn’t seem to make any sense that it still reads “Register”.


Tony

  • Support Staff

November 6, 2018 at 3:37 am

It does make sense to display another message but ‘expired’ has a different meaning to EE events (events in which all datetimes have passed) so it would need to be something else.

Originally the table view template (which is what you are using as a calendar) displayed either a ‘Register’ or ‘View details’ only, we added the sold out check based on user feedback and with that it’s highlighted this condition so we’ll need investigate the best way to handle the above.

I’ll add your feedback to the ticket I mentioned above.

Viewing 5 reply threads

The support post ‘Event showing as able to register instead of sold out’ 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