Rsvp for paid event

Home Forums Ticket Products Event Tickets Plus Rsvp for paid event

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1591030
    development tink
    Participant

    For a client we have installed Event Tickets Pro and Event Tickets in order to be able to reserve seats for an event. They do not want to sell any tickets online.

    The ticket price should be displayed, and the option to rsvp.

    We have installed the show cost extention: https://theeventscalendar.com/extensions/show-cost-field/

    Now we get a price range (free – 15). There are no free tickets, so the word free needs to be removed. How to do that?

    We tried this solution but it didn’t work: https://theeventscalendar.com/support/forums/topic/event-with-both-ticket-and-rsvp-options-displays-as-free-8/

    What can we do?

    #1591272
    Courtney
    Member

    Hey there

    Please try the following by adding this snippet to either your child theme’s functions.php file or use the My Custom Functions plugin.

    add_filter( 'tribe_get_cost', 'tribe_remove_free_text_from_cost_range', 10, 3 );
     
    function tribe_remove_free_text_from_cost_range( $cost, $post_id, $with_currency_symbol ) {
        return str_replace( 'Free', '', $cost );
    }
    

    Let me know if that works for you.

    Thanks
    Courtney 🙂 

    #1600909
    development tink
    Participant

    Thank you for your support, the issue is solved!

    #1601079
    Courtney
    Member

    Great! I’ll close out the thread for now, but do let us know if you have any future questions.

    Thanks
    Courtney 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Rsvp for paid event’ is closed to new replies.