Support

Home Forums Event Espresso Premium Event Expresso 3 – Change CLOSED to SOLD OUT for Event Listings

Event Expresso 3 – Change CLOSED to SOLD OUT for Event Listings

Posted: July 13, 2020 at 9:27 am

Viewing 2 reply threads


FASeminars

July 13, 2020 at 9:27 am

Hello,

Is there a way within EE3 so that when the registration date closes for an event, that instead of the event showing CLOSED, it can read SOLD OUT instead? Don’t see an easy option to change via back-end settings so was wondering if it’s somewhere in the code that can be edited w/o issue?

Thanks,

Andreo


Tony

  • Support Staff

July 13, 2020 at 10:27 am

Hi Andreao,

The simplest option is to ‘translate’ that text, you can do that using a function like the one posted here:

https://eventespresso.com/wiki/how-to-change-wording-with-poedit/#custom-function

Set your $strings array to something like:

$strings = array(
    'CLOSED' => 'SOLD OUT',
    'Closed' => 'Sold Out',
    // Add some more strings here
);

You can change the strings on the right to whatever you prefer then add it to a custom functions plugin:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

That should change the output for you.


FASeminars

July 13, 2020 at 12:15 pm

Hi Tony,

Thank you for getting back to us. I’ll show this to our developer to evaluate.

Will report back if further questions,

Andreo

Viewing 2 reply threads

The support post ‘Event Expresso 3 – Change CLOSED to SOLD OUT for Event Listings’ 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