How do I separate up the tickets and related events?

Home Forums Ticket Products Event Tickets Plus How do I separate up the tickets and related events?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1017806
    Craig
    Participant

    Hi

    How do I separate up the ticket box and the related events box?
    I can see that in the template both the related events and the ticket box is called on ‘tribe_events_single_event_after_the_meta’
    Basically I still want to retain the related views at the bottom of the screen, but the client would like the ticket purchasing box moved up the page

    So how do I go about adding this into the single-event.php template?
    So I can call the ticket box and the related events separately rather than using
    <?php do_action( ‘tribe_events_single_event_after_the_meta’ ) ?>

    Cheers
    Andy

    #1017808
    Craig
    Participant

    I have inserted the following in my template for the ticket box

    
    <?php 
    	$ticket_box = new Tribe__Events__Tickets__Woo__Main();
    	$ticket_box->front_end_tickets_form( '' );
    ?>

    And for the related view

    
    <?php 
    	$related_views = Tribe__Events__Pro__Main::instance();
    	$related_views->register_related_events_view();
    ?>

    Would this be the best way, or is there some hooks I can utilise?

    Cheers
    Andy

    #1018030
    Brian
    Keymaster

    Hi,

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

    We have this guide for moving the Ticket Form in WooCommerce Tickets.

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

    Does that do what you are looking for?

    Thanks

    #1023661
    Support Droid
    Keymaster

    This 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.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘How do I separate up the tickets and related events?’ is closed to new replies.