Home › Forums › Ticket Products › Community Tickets › Remove RVSP checkbox from tickets section on the event submission form
- This topic has 11 replies, 3 voices, and was last updated 9 years, 4 months ago by
Emil.
-
AuthorPosts
-
December 13, 2016 at 8:15 am #1205227
Emil
ParticipantHi,
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!December 13, 2016 at 8:33 pm #1205692Geoff B.
MemberGood 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.
December 16, 2016 at 7:08 am #1207039Emil
ParticipantI’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.
December 19, 2016 at 9:21 pm #1208002Geoff B.
MemberGood 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.
December 20, 2016 at 1:31 am #1208063Emil
ParticipantThanks 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?
December 20, 2016 at 9:43 am #1208375Emil
ParticipantI’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.December 20, 2016 at 11:11 pm #1208723Geoff B.
MemberGood 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.
December 21, 2016 at 3:37 am #1208778Emil
ParticipantThanks Geoff. Really appreciate that. I’ll stay tuned.
December 21, 2016 at 9:49 pm #1209319Geoff B.
MemberGood 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[/caption]Let me know if that helps.
Have a great day!
Geoff B.
December 23, 2016 at 3:00 am #1209970Emil
ParticipantThat’s great news indeed. Really awesome actually. Thanks Geoff B.
It really solved the issue perfectly. Many thanks to you guys.December 23, 2016 at 11:28 am #1210125Geoff B.
MemberGood 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.
-
AuthorPosts
- The topic ‘Remove RVSP checkbox from tickets section on the event submission form’ is closed to new replies.
