Remove RVSP checkbox from tickets section on the event submission form

Home Forums Ticket Products Community Tickets Remove RVSP checkbox from tickets section on the event submission form

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1205227
    Emil
    Participant

    Hi,
    I want to have Woocommerce as the default and only option for a users who submits an event through the submission form on the community events submission page. Is there a way this can be done? I’ve read followed the theme’s guide but and can’t find any built in option for this in the docs and knowledgeable. How do I do this, please help!

    #1205692
    Geoff B.
    Member

    Good evening Emil and welcome back!

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

    I believe you should read my colleague Brook’s great reply on this very request: https://theeventscalendar.com/support/forums/topic/possible-to-remove-rsvp-as-a-ticket-option/#post-1102859

    Let me know if that helps.

    Have a great day!

    Geoff B.

    #1207039
    Emil
    Participant

    I’ve read it and tried it but the end result was not exactly removing only the RSVP box, it also ads field and additional code that is unnecessary.

    The line that brooks mentions ( $checked = $module === 'WooCommerce';) does not exist in the template he refers to unless I add the code he suggest but then I get alot of additional field and code that I don’t want. I only want to remove the RSVP box and this only confuses me.

    Can you point me to a solution that instead only removes the RSVP box, thank you.

    #1208002
    Geoff B.
    Member

    Good evening Emil,

    I am sorry this did not yield better results for you.

    I am pretty sure the following snippet removes WooCommerce properly.

    Perhaps you could tweak it (around line 60) and see if it works for you ? https://gist.github.com/GeoffEW/adfeedbc908640ba7bbf584e6622b406

    You could also use some CSS to cheat: https://theeventscalendar.com/support/forums/topic/disable-rsvp/#post-1041714

    Let me know if that helps.

    Have a great day!

    Geoff B.

    #1208063
    Emil
    Participant

    Thanks Geoff, it does help.

    Tt seems to display correct on the front end, without the RSVP option when I fully replace my [your-theme]/tribe-events/community-tickets/modules/tickets.php with the one you provided.

    However in the github file there’s many more lines of codes(hundreds) that seems to do other things. What does all of the additional code do? Is it all just for removing the RSVP option box and its content or is it something else i should be concerned about or that would be good to know?

    • This reply was modified 9 years, 4 months ago by Emil.
    • This reply was modified 9 years, 4 months ago by Emil.
    #1208375
    Emil
    Participant

    I’ve poked around with your suggested replacement template a little bit.

    I noticed after trying it in action that it will remove the global ticket options select box under the Woocommerce/Tickets section thats supposed to appear when Global stock is enabled. That’s not something I want happen. I only want to remove the RSVP box, all else I want intact. Which is a bit confusing and make me even more concerned with what all the additional lines does.

    The CSS solutions does unfortunately not work very well because when you click on the text “Sell using:” and by default it checks the RSVP option even though it’s set to display: none; Will cause problem when people who submits events don’t realize this. Otherwise that would have been a simple and easy solution for me here.

    Another question is if it’s possible to do the same in the backend when editing an event under WP-admin?
    Same problem with CSS there and tweaking the code solution with be necessary for me.

    #1208723
    Geoff B.
    Member

    Good evening Emil,

    Thank you for writing back.
    I am sorry that my recommendations did not yield better results 🙁

    I would like to run your request by our coding ninjas and see if they can help fix this situation once and for all for you.

    Hang in there as I do that for you.

    Best regards,

    Geoff B.

    #1208778
    Emil
    Participant

    Thanks Geoff. Really appreciate that. I’ll stay tuned.

    #1209319
    Geoff B.
    Member

    Good evening Emil,

    I have some pretty good news.

    You are the first to get a copy of this pretty neat extension: https://theeventscalendar.com/content/uploads/2016/12/tribe-ext-select-ticket-providers.zip

    It installs just like a plugin and gives you the following options:

    [caption id="attachment_1209146" align="alignnone" width="627"]Example of the option area this extension adds Example of the option area this extension adds[/caption]

     

    Let me know if that helps.

    Have a great day!

    Geoff B.

    #1209970
    Emil
    Participant

    That’s great news indeed. Really awesome actually. Thanks Geoff B.
    It really solved the issue perfectly. Many thanks to you guys.

    #1210125
    Geoff B.
    Member

    Good afternoon Emil,

    Awesome! I am super stoked that this worked out for you.

    You are welcome back in our support forums any time 🙂

    For now, I am going to close this thread.

    Have a great weekend!

    Geoff B.

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Remove RVSP checkbox from tickets section on the event submission form’ is closed to new replies.