Move tickets

Home Forums Ticket Products Event Tickets Plus Move tickets

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1065491
    renesejling
    Participant

    Hello

    Is it possible to move the tickets section of an event to this location instead of at the bottom?
    https://www.evernote.com/l/AIrpc8-0HYlJkqXPcNzjOyDhlH0KOQWRD5U

    This will make them more visible.

    #1065872
    Brian
    Member

    Hi,

    Thanks for using our plugins. I can help out here.

    We have this guide to moving the ticket form:

    https://theeventscalendar.com/knowledgebase/moving-the-ticket-form/

    Let me know if you have any follow up questions.

    Thanks

    #1065899
    renesejling
    Participant

    Thanks a lot, but I can’t get it working. I uncommeted the line with after event description, and added it in the functions.php file. But nothing happends.

    #1065977
    Brian
    Member

    Hi,

    I just tested the snippet on my test site and it worked for me to move the form around.

    Are you using Event Tickets Plus or WooCommerce Tickets?

    And what theme are you using?

    Thanks

    #1065983
    renesejling
    Participant

    I Am using woocommerce tickets on genesis theme.

    #1065996
    Brian
    Member

    Ok that makes sense. That snippet on works for the Event Tickets Plus.

    Try out this instead:

    if(class_exists('Tribe__Events__Tickets__Woo__Main')) {
    remove_action( 'tribe_events_single_event_after_the_meta', array( TribeWooTickets::get_instance(), 'front_end_tickets_form'), 5 );
    }

    if(class_exists('Tribe__Events__Tickets__Woo__Main')) {
    add_action( 'tribe_events_single_event_before_the_content', array( TribeWooTickets::get_instance(), 'front_end_tickets_form') );
    }

    #1066133
    renesejling
    Participant

    Awesome, that worked perfectly, thanks a lot 🙂

    #1066406
    Brian
    Member

    Great, glad it helps, I am going to go ahead and close this ticket, but if you need help on this or something else please post a new ticket.

    Thanks!

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Move tickets’ is closed to new replies.