Home › Forums › Calendar Products › Community Events › Move Ticket Box before Meta does not work
- This topic has 7 replies, 3 voices, and was last updated 10 years, 2 months ago by
Support Droid.
-
AuthorPosts
-
December 3, 2015 at 1:32 am #1034335
Nathanael-Osirius Woggon
ParticipantHey guys,
I would like to move my ticket form before the meta boxes.
I found the Knowledgebase article describing it:
https://theeventscalendar.com/knowledgebase/moving-the-ticket-form/if (class_exists('Tribe__Tickets_Plus__Commerce__WooCommerce__Main')) { remove_action( 'tribe_events_single_event_after_the_meta', array( Tribe__Tickets_Plus__Commerce__WooCommerce__Main::get_instance(), 'front_end_tickets_form'), 5 ); add_action( 'tribe_events_single_event_after_the_content', array( Tribe__Tickets_Plus__Commerce__WooCommerce__Main::get_instance(), 'front_end_tickets_form'), 5 ); }However, this does not seem to work anymore, my ticket box is still showing up at the bottom of the page.
Any ideas on how to fix this?!
-
This topic was modified 10 years, 4 months ago by
Nathanael-Osirius Woggon.
-
This topic was modified 10 years, 4 months ago by
Nico.
December 3, 2015 at 1:09 pm #1035013Nico
MemberHowdy Lukas,
Welcome to our support forums and thanks for reaching out to us. I’ll try to help you getting this right again 🙂
First of all I’ve tested this locally and it’s working for me. I guess the code might not be in the right place (Can you check it’s in the functions.php file of your active theme -or child theme-) or maybe you haven’t installed/updated the correct plugins (The Events Calendar, Events Calendar PRO, Event Tickets, Event Ticket Plus and WooCommerce), please send me over your system information so I can check on that (you can send it in a private reply).
Other way of checking on this is to follow the steps described in our Testing for conflicts guide, and adding the snippet temporarily to the functions.php file of the TweentyFifteen defualt theme.
Please let me know about this,
Best,
NicoDecember 3, 2015 at 9:51 pm #1035213Nathanael-Osirius Woggon
ParticipantHey Nico,
thanks for your reply! Unfortunately the issue still exists.
The code is located in the functions.php of my current active child-theme.
Also when activating the twentyfifteen Theme and adding the code to its functions.php, the order does not change.I’ve installed both The Events Calendar and the Events Calendar WooCommere Plugin.
I’ll attach my system information in a private reply.
The page where the problem occurs is the following:
km.fngrl.de/veranstaltungenDecember 3, 2015 at 9:51 pm #1035214Nathanael-Osirius Woggon
ParticipantThis reply is private.
December 4, 2015 at 9:20 am #1035593Nico
MemberHey Lucas,
Thanks for following-up with the system info! Now I can see what’s going on here!
The code provided in the article is intended to be use with our new plugin Event Tickets Plus which replaces the functionality of WooTickets (and the other ticketing plugins). More info on this: Moving to Event Tickets Plus.
If you decide not to update (yet), the code for this to work with WooTickets, it’s:
if (class_exists('Tribe__Events__Tickets__Woo__Main')) {
remove_action( 'tribe_events_single_event_after_the_meta', array( Tribe__Events__Tickets__Woo__Main::get_instance(), 'front_end_tickets_form'), 5 );
add_action( 'tribe_events_single_event_after_the_content', array( Tribe__Events__Tickets__Woo__Main::get_instance(), 'front_end_tickets_form'), 5 );
}
Please give it a try and let me know,
Best,
NicoDecember 6, 2015 at 2:23 am #1036215Nathanael-Osirius Woggon
ParticipantHi Nico,
that works great. When did you release the new plugin though…. I just bought WooCommerce tickets a week ago and am a little bit sad I didn’t get the new plugin…
Is it possible to change my license to Event Tickets Plus?December 7, 2015 at 7:05 am #1036862Nico
MemberHey Lukas,
Glad the code worked as expected 🙂
Release: The Events Calendar Version 4.0 + all add-ons was out on December 2, just a few days ago. All WooTickets license holders are automatically given a Event Tickets Plus license (with the same expiration date) to do the switch to our new plugin. You should be able to download the plugin in ‘My Account > Downloads’ from the top menu in this site. If you are going to migrate from WooTickets to Event Tickets Plus, this article can be of help: Moving to Event Tickets Plus.
Please let me know if there’s anything else I can help you with,
Best,
NicoFebruary 18, 2016 at 8:32 am #1075968Support Droid
KeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
This topic was modified 10 years, 4 months ago by
-
AuthorPosts
- The topic ‘Move Ticket Box before Meta does not work’ is closed to new replies.
