Support

Home Forums Event Espresso Premium Sold Out events don’t have label “Sold Out” on the events table

Sold Out events don’t have label “Sold Out” on the events table

Posted: December 3, 2024 at 1:17 pm

Viewing 5 reply threads


baystate

December 3, 2024 at 1:17 pm

Hi. Our events table used to show “Sold Out” instead of “Register” when an event was sold out. When a user clicks on “Register” the tickets are labeled as “Sold Out” and cannot be selected/added to cart. We DO want sold out events to appear on the event table but to be labeled as “Sold Out”, not “Register”. I’m not sure if this changed with a recent EE update because this is the first time we’ve had sold out events this season.

EXAMPLE: Our events table is displayed on the following page on our staging version of the site (we increased the capacity on the production/live site so no longer shows the problem): https://baystateskastg.wpengine.com/classes/register/. The events “Newton-Brighton Sunday II” and “Quincy Sunday III” both have a “Register” link (instead of “Sold Out”) but when you click on it you’ll see that the tickets are labeled as Sold Out, which is correct – they are sold out.

I tried searching the forums but couldn’t find exact problem. Thanks in advance for your help in resolving this.

Caryn


Tony

  • Support Staff

December 4, 2024 at 4:22 am

Hi there,

I’ll just focus on one event currently as the cause is likely the same for both, if not we can visit.

That button works on the event status that is currently set on the event itself and focusing on “Newton-Brighton Sunday II” for now, I can see that’s currently set to published:

https://baystateskastg.wpengine.com/wp-json/ee/v4.8.36/events/60280

"status":{"raw":"publish","pretty":"Published"}

(That is the WP REST API showing details for that specific event post, just posting details of how I know what the status is currently)

So when the table checks for the status it wont be sold out and wont change the button.

So… let’s start with that, if you edit that event and look in the ‘Event Registration Options’ section, what does it show for ‘Active Status:’?


baystate

December 4, 2024 at 1:06 pm

Hi Tony,

Thanks. The status said “Published” so I changed it to “Sold Out” and clicked OK then Update. Now the Register page (event table) shows label of “Sold Out”. So that worked. Hooray!

Does this mean that we should then change the status manually like this for any events that become sold out? I thought in the past it happened automatically, but I could be wrong. It shouldn’t happen too often, so changing status manually for each probably won’t be a big deal. But if there is something easy that would make it happen automatically, I’d love to know.

Thanks again!
Caryn


Tony

  • Support Staff

December 4, 2024 at 1:35 pm

Does this mean that we should then change the status manually like this for any events that become sold out?

If you have events that should be sold out but aren’t changing to be sold out, then yes manually updating them should work.

I thought in the past it happened automatically, but I could be wrong.

It should happen automatically and for me it does.

Were the last registrations on those events ‘normal’ registrations through the front end?


baystate

December 7, 2024 at 5:09 am

No they weren’t all “normal” front end regos. There were manual back end registrations. It sounds like that affects the automatic Sold Out labelling. Got it.

Is there something we’d need to do after a back end rego to make it go back to automatic? Or is it that once we do a back end rego we have to change to Sold Out status manually?


Tony

  • Support Staff

December 9, 2024 at 3:29 am

No they weren’t all “normal” front end regos. There were manual back end registrations. It sounds like that affects the automatic Sold Out labelling. Got it.

It shouldn’t do, but that’s what I’m trying to figure out here.

Registrations made within the admin, which, if made on the front end would normally set the event to be sold out, should also still set the event to be sold out.

So your admin registrations were the ‘last’ registrations on that event (as in the last available ticket before the event should switch status) and it didn’t switch to sold out, I can check into that.

Is there something we’d need to do after a back end rego to make it go back to automatic? Or is it that once we do a back end rego we have to change to Sold Out status manually?

You shouldn’t need to do anything, right now I can’t reproduce this so I’m trying to narrow this down a little so I know what to test.

When you manually register an attendee, what do you do afterwards? Manaully set the status or apply a payment?

Viewing 5 reply threads

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

Event Espresso