Change "Buy Now" Label

Home Forums Ticket Products Event Tickets Plus Change "Buy Now" Label

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1433859
    Rich
    Participant

    Simple question, but just spent way too much time searching for an answer on your site. For what I do, the “Buy Now” label on tickets seems tacky. I want to change it to “RSVP”.

    How?

    #1435232
    Barry
    Member

    Hi Rich,

    You could apply a small snippet of code like this one:

    add_filter( 'tribe_tickets_buy_button', function( $html ) {
        return str_replace( 'Buy Now!', 'RSVP', $html );
    } );

    This could be added either to a custom plugin (preferred) or else to your theme’s functions.php file.

    Does that help?

    #1438142
    Shayne
    Participant

    Barry, I placed that code in my custom CSS and it gives a bunch of error messages. Are you sure that code is correct???

    #1439019
    Rich
    Participant

    I appreciate the suggestion, but I’m really hoping there is a simpler solution. Something like a “language” file where I can simply edit the titles on the buttons.

    #1439111
    Liz Koch
    Participant

    Yes, this code worked! Shayne, it goes in the Theme function file, not in the CSS code.

    #1444643
    Barry
    Member

    Hey gang!

    Sorry for the delay, I’m afraid most of the team were unavailable over the last 7 days.

    Liz is correct, as I noted the code should not go inside your custom CSS but should be added either to a custom plugin (preferred) or else to your theme’s functions.php file.

    I appreciate the suggestion, but I’m really hoping there is a simpler solution. Something like a “language” file where I can simply edit the titles on the buttons.

    You can edit the language files if you wish to do so, but I’d suggest that is a little more complicated than what I already proposed 🙂

    A plugin such as Say What might fit your needs, as an easy alternative, though.

    #1464967
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Change "Buy Now" Label’ is closed to new replies.