Home › Forums › Ticket Products › Event Tickets Plus › Event Cost disappears with WooTickets
- This topic has 8 replies, 2 voices, and was last updated 10 years, 4 months ago by Kelly.
-
AuthorPosts
-
December 19, 2013 at 6:14 am #82783BenParticipant
As the title says, when I activate WooTickets the Event Cost fields disappear when adding/editing an event. Is this by design? Why is the functionality not kept so that events can have a price without selling tickets for it?
Related function: public/template_tags/general.php line 542 onwards.
Thanks
December 19, 2013 at 9:55 am #82834KellyParticipantGreat question, Ben! 🙂 We’ve actually got a tutprial for just your situation: https://theeventscalendar.com/filtering-tec-to-show-prices-from-woocommerce-tickets/
Please give it a whirl and let us know how it goes. Thanks! 🙂
December 20, 2013 at 6:53 am #83009BenParticipantThanks Kelly. I’m not sure this is quite what I’m after (if it is then I apologies!). On our site we have 100s of events and on those we set the Event Cost field. We’ve since bought and installed WooTickets, which has removed this field from the backend (unexpectedly). We bought WooTickets to sell tickets on only a subset of these 100 or so events. So not all of them.
I see there’s a function/filter that decides whether the cost field should be displayed or not. I don’t really understand why adding WooTickets should mean the cost field is removed.
Can you elaborate? Thanks again, Ben.
December 20, 2013 at 5:09 pm #83121KellyParticipantHi, Ben. Are you saying that the cost field is removed even for events without WooCommerce Tickets associated with them? That doesn’t sound right to me.
Please confirm, and I’ll check it out with our dev team. Thanks!
December 21, 2013 at 7:18 am #83170BenParticipantYep. For instance if I create a new event (with woocommerce installed) the Event Cost fields aren’t shown.
December 23, 2013 at 9:08 am #83310KellyParticipantI’ll check into this and get back to you, Ben. Thank you for explaining!
Please note that because of the holidays it may take a little extra time, but I’ll follow up as soon as I have an answer.
January 7, 2014 at 4:12 pm #88022KellyParticipantHi, Ben! Thanks for your patience while we got you an answer on this one.
Basically, the events cost field is universal, so this behavior exists to prevent confusion where costs are also being set for tickets. It can be overridden though. Here’s a snippet of code to add to your theme’s functions.php file (or some other suitable place) that should make the cost field UI display regardless of ticketing plugin:
add_filter( 'tribe_events_admin_show_cost_field', '__return_true' );
Please give that a whirl and let me know how it goes. Thanks!
January 8, 2014 at 8:27 am #88541BenParticipantThat has worked a treat. Thank you very much.
January 8, 2014 at 9:35 am #88597KellyParticipantFantastic! I’m so glad that we could get you back in business, Ben.
By the way, if you have a minute or two, we will love it if you would write a few words for us here:
http://wordpress.org/support/view/plugin-reviews/the-events-calendar?filter=5Thanks in advance! 🙂
-
AuthorPosts
- The topic ‘Event Cost disappears with WooTickets’ is closed to new replies.