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


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

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  FASeminars 4 weeks, 1 day ago ago

Topic Tags

Notifications

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