Bookings: Default ticket for all; Adding booking form to template

WordPress Event Management, Calendars & Registration Forums General Question Bookings: Default ticket for all; Adding booking form to template

This topic contains 6 replies, has 2 voices, and was last updated by  Willow 9 years, 7 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #18318

    Hello Stephen,
    I’ve looked in the docs and forums, but can’t find answers to these questions:

    1) Is it possible to create a single ticket for all events, or do the tickets have to be added to each event separately?

    2) For the life of me, can’t figure out how to include the booking form automatically on all events in the template.

    Thank you!

    Willow
    #18321

    1) Yes, though you could werite a custom script to create a particular ticket for each new event.

    2) The form will be automatically added to the end of the event content whenever there are tickets on sale. If you have tickets, check that they are currently on sale (if a sale period is specified), they have quantity of 1 or more and they have occurrences associated with them (if selling by date) – I.e.check that the ticket has dates highlighted in blue.

    Stephen Harris
    #18324

    How can I activate one ticket for all events? is there a setting for it in the back-end?

    Willow
    #18332

    Sorry, my mistake – for (1) I meant: No, though you could write a custom script to create a particular ticket for each new event.

    Stephen Harris
    #18345

    Got it, thanks.

    Is there way to place the booking form in a specific place within the template?

    Willow
    #18347

    Yes, first of all you can disable the appending of the booking form to the event content:

    add_filter( 'eventorganiser_pro_get_option_disable_automatic_form', '__return_true' );
    

    and then to display the booking form in your template use:

     echo eo_get_booking_form( get_the_ID() );
    

    The ID being passed to eo_get_booking_form() should be the event ID, in the above I’m assuming that your using it in the single event template.

    Stephen Harris
    #18350

    Worked great!

    Next is email notifications testing, hopefully will wrap it up soon 🙂
    Thanks so much for your excellent support.

    Helen

    Willow
Viewing 7 posts - 1 through 7 (of 7 total)
To enable me to focus on Pro customers, only users who have a valid license for the Pro add-on may post new topics or replies in this forum. If you have a valid license, please log-in or register an account using the e-mail address you purchased the license with. If you don't you can purchase one here. Or there's always the WordPress repository forum.