Another user wanting to change a few words

Home Forums Ticket Products Event Tickets Plus Another user wanting to change a few words

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1337510
    Paul
    Participant

    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/

    #1337911
    Paul
    Participant

    After 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

    #1338320
    Andras
    Keymaster

    Heya 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,
    Andras

    #1338994
    Paul
    Participant

    That one works, thanks very much.

    #1339003
    Andras
    Keymaster

    You 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,
    Andras

    PS: 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!

     

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Another user wanting to change a few words’ is closed to new replies.