Support

Home Forums Event Espresso Premium EE4: Sold out but Register Link still exists from ESPRESSO_EVENTS_TABLE_TEMPLATE

EE4: Sold out but Register Link still exists from ESPRESSO_EVENTS_TABLE_TEMPLATE

Posted: September 8, 2015 at 11:58 am


Chris Stambaugh

September 8, 2015 at 11:58 am

Hi,

This happens occasionally.

Using the ESPRESSO_EVENTS_TABLE_TEMPLATE shortcode for an event to list event dates and status, the event will have a Register link. User clicks on Register link only to discover it is actually sold out.

See this URL for an example: https://www.bsop.ca/available-light-photography-classes/

Any idea why this happens? Obviously I can change the status to Sold Out once I know about it, but I shouldn’t need to do so?

Thanks,

Paul


Josh

  • Support Staff

September 8, 2015 at 12:54 pm

Hi Paul,

Can you contact your host and ask them to set up no-cache rules for the pages that have the Register links? What can happen is if the event sells out, and the cache is stale, it will still show a register link there because it’s being served as a cached file instead of a dynamically generated page that’s pulling current information about the events.


Chris Stambaugh

September 9, 2015 at 1:24 pm

Hi,

I contacted WP_Engine and had that (and others like it) excluded from the cache, but the problem persists.

Paul


Tony

  • Support Staff

September 10, 2015 at 3:48 am

Hi Paul,

Can you grab a screenshot of the datetime/ticket section (like THIS) for ‘Available Light Portrait Photography Class | October 17-18, 2015’ class please and upload it here.

Or if you prefer you can send temporary login details using this form:

https://eventespresso.com/send-login-details/

and I’ll take a look.

To confirm, are you using the latest version of the Events Table Add-on? (currently 1.3.3.p)


Chris Stambaugh

September 10, 2015 at 12:15 pm

I am running the current version (1.3.3.p) of the Events Table Add-on.

I have the screen shot. How can I upload it here?


Tony

  • Support Staff

September 10, 2015 at 12:37 pm

It will need to be hosted and the link posted here.

We have some suggestions here:

https://eventespresso.com/wiki/troubleshooting-checklist/#screenshots


Chris Stambaugh

September 10, 2015 at 12:43 pm

Here’s the link to the screen shot:

http://www.bsop.ca/images/Available_Light_Ticket_Screen_Shot.JPG


Josh

  • Support Staff

September 10, 2015 at 8:19 pm

Thanks for the screenshot, it helps a lot. What happens is the events table template will loop through the datetimes and check to see if all of them are sold out. If all of them are sold out, it will display the sold out text. Since the second datetime in your screenshot has no limit, it’s kind of throwing things off. If you set the limit to 12 for the other datetime, the table will display the sold out text for that row.


Chris Stambaugh

September 12, 2015 at 2:12 pm

Hi,

Not sure that’s the issue because the vast majority of my events have two datetimes just like that one and yet they will show as sold out when they are.

Paul


Josh

  • Support Staff

September 14, 2015 at 7:53 am

Hi Paul,

Can you try setting the limit for that one datetime, and see if it fixes things for you?

Thanks!


Chris Stambaugh

September 15, 2015 at 9:31 am

I could do that, but don’t understand the necessity when the EE Calendar shows the class as sold out where the ESPRESSO_EVENTS_TABLE_TEMPLATE shortcode doesn’t.

Shouldn’t they both work the same way?


Josh

  • Support Staff

September 15, 2015 at 12:43 pm

Not necessarily because the Events table template shows one datetime per event (specifically the next upcoming datetime) and the calendar shows all datetimes for each event.

The support post ‘EE4: Sold out but Register Link still exists from ESPRESSO_EVENTS_TABLE_TEMPLATE’ 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