Posted: January 16, 2025 at 6:27 am
Where are these two strings of text that appear when my event tickets are sold out: “[Event Name] is currently sold out.” The top line is excellent, but I use WAITING LISTS, which will place a button below and to the right of this line of text to encourage collecting additional interest. However, the second line of text negatively discourages the use of the Wit List button. I want to change that test string to encourage clicking the WAIT LIST button. Is there a configuration page where I can change the text, or do I need a CODE SNIPPET? I would prefer something like this to encourage customers to use the button: “Please use the WAIT LIST button so we can notify you if space opens.” |
|
Hi there, You’ll need a snippet for this and I have an example here: https://gist.github.com/Pebblo/8201e23daaaf479e70ad7472e9477f8e In your snippet you’ll want Line 8 to be changed to something like:
Then add the snippet to a custom functions plugin, we have some documentation on creating one here: https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/ |
|
Thank you! I put your text example into the SNIPPET you linked into my Code Snippet list. I tested by looking in my first sold-out course, and everything looks great: https://www.patrollerschool.org/events/events/elk-mtn-womens-toboggan-clinic-2/ Unfortunately, when I checked another Sold-Out event, it did not display the text. I can’t figure out why. https://www.patrollerschool.org/events/events/elk-pa-general-admission-to-patroller-school-2024-2/ The primary difference is that this event has more than one ticket to choose from. Do you know if this Sold-Out feature has difficulty when multiple tickets are displayed? |
|
The text is behind a conditonal for:
This event: https://www.patrollerschool.org/events/events/elk-mtn-womens-toboggan-clinic-2/ Has that set to 1 and this event: https://www.patrollerschool.org/events/events/elk-pa-general-admission-to-patroller-school-2024-2/ Does not, correct? |
|
Yes, both events had an option to purchase multiple tickets. But I backed the first one down to just one at a time because I typically do that once we hit WAITING LIST mode. I failed to depreciate the purchased quantity on the second. But why choose to code it this way? Why not display the Sold Out message regardless of whether the quantity is one or multiple. |
|
The support post ‘Sold Out “string of text”’ 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.