Removing word "FREE" if RSVP enabled

Home Forums Ticket Products Event Tickets Plus Removing word "FREE" if RSVP enabled

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1151885
    Pedro
    Participant

    Hello,

    I am settin gup various events, NONE of which are free.. however, although I have woocomerce enabled to sell those tickets, here in Mexico people prefer to just RSVP and pay at the venue or location. So I enabled the RSVP function… BUT, now it displays the word FREE in the price section!! How can I disble it, or change the wording?

    I have tried the snippet to change any text, and it does not work…

    The word FREE appears in two places in the single event page… under the title, and in the meta info.

    Also, not related to this,

    I want to include the actual price of the tickets in the RSVP email that is sent to attendee… I have edited the email, but I am having problems with getting the price variable to print correctly in the email…

    Any ideas?

    #1151957
    Geoff B.
    Member

    Good evening Pedro and welcome to the Events Calendar Support forum!

    Thank you for reaching out to us.
    I would love to help you with this topic.

    it displays the word FREE in the price section!! How can I disble it, or change the wording?

    As a first troubleshooting step, could you please provide us with your complete system information in a private reply using the instructions found in the following link?

    https://theeventscalendar.com/knowledgebase/sharing-sys-info/

    Secondly, just to make sure we are on the same page, when you say you have enabled the RSVP function, do you mean that you have RSVP tickets AND WooCommerce tickets or that you have paid WooCommerce tickets and free WooCommerce tickets (that act as RSVP tickets) ?

    I want to include the actual price of the tickets in the RSVP email that is sent to attendee… I have edited the email, but I am having problems with getting the price variable to print correctly in the email…

    I am not sure if you know about this, but the best way to change emails that are sent out is via template customizations. You might want to read our Themer’s guide to get a sense of how that works.

    I should be able to help you narrow this down further with the answers from my previous questions.

    Best regards,

    Geoff B.

     

     

    #1152113
    Pedro
    Participant

    This reply is private.

    #1152448
    Geoff B.
    Member

    Good evening Pedro,

    Thank you for the system information, for answering my questions and for writing back!

    You are right, by default, the RSVP ticket is set to a cost of 0$, hence the mention “free” in the price range.

    There are a couple of ways to tackle this. You could:

    1. Simply remove or hide the price ranges altogether with a combination of template customization (single-event.php) and CSS
    2. Add a snippet in the functions.php of your child theme to change the following functions
      1. tribe_get_cost
      2. maybe_replace_cost_with_free( $cost ) (from the cost-utils.php file)

    If you haven’t already done so, you might want to read our Themer’s guide to get a sense of how template customization works.

    I just need to know what function or php code to include to print the price ariable into the email.

    This is a great question since it’s related to the same function as above (the cost).

    I would recommend reading the following excerpts to get you started on the right track:

    Let me know how that goes.

    Best regards,
    Geoff B.

    #1161050
    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 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Removing word "FREE" if RSVP enabled’ is closed to new replies.