Home › Forums › Ticket Products › Event Tickets Plus › Another user wanting to change a few words
- This topic has 5 replies, 2 voices, and was last updated 6 years, 8 months ago by Paul.
-
AuthorPosts
-
August 18, 2017 at 11:31 am #1337510PaulParticipant
Hi,
I followed the instructions here: https://theeventscalendar.com/knowledgebase/change-the-wording-of-any-bit-of-text-or-string/and added the code to custom.php
On pressing enter my site went down. So i’ve removed the code.How can I simply change “out of stock” to “sold out”
And also why doesn’t your plugin do this by default? When have you ever heard of tickets being out of stock. They sell out.
Great plugin overall but little touches like this, being overlooked, are incredibly infuriating.
thank you
========================
PLEASE LEAVE FOR SUPPORT
Reporting the same issue as: https://theeventscalendar.com/support/forums/topic/custom-sold-out-message-on-list-view/August 20, 2017 at 6:04 am #1337911PaulParticipantAfter realising you’ve missed off the ); from your help page i’ve added the following code:
$custom_text = array( 'Related %s' => 'Similar %s', 'Out of stock!' => 'Sold Out', );
I’m still not seeing “sold out” in the front end.
Any help would be appreciated.
thanks
August 21, 2017 at 3:40 pm #1338320AndrasKeymasterHeya Paul,
Thanks for getting in touch! Also thanks for pointing out that error, I will fix it right away.
I tested the code and it still works the way it should.
Here is the whole code again, just to be sure:
https://gist.github.com/theeventscalendar/734adb9e94f11b940e5f
Paste it into your functions.php file without the opening <?php tag and adjust based on your needs.
Does this do the trick?
Cheers,
AndrasAugust 23, 2017 at 5:59 am #1338994PaulParticipantThat one works, thanks very much.
August 23, 2017 at 6:08 am #1339003AndrasKeymasterYou are so welcome, Paul! Stoked to hear it works.
Since this is marked resolved I am going to close this ticket, but if you need anything else related to this topic or another please post a new topic in the forum and we will be happy to help you out.
Cheers,
AndrasPS: If you like our plugin, and you didn’t yet do so 🙂 we would be happy to receive a review in the wordpress.org repository. Thanks!
https://wordpress.org/support/view/plugin-reviews/the-events-calendar/
https://wordpress.org/support/view/plugin-reviews/event-tickets/PS2: We’d be also grateful if you would give us feedback on your satisfaction with support. Just click on one of the classy looking emojis below. 🙂 If you can spare a few words, that’s even better. Doublethanks!
-
AuthorPosts
- The topic ‘Another user wanting to change a few words’ is closed to new replies.