Events Manager
[resolved] Create custom booking from serverside (3 posts)

  1. ykushnir
    Posted 2 years ago #

    I created custom checkbox field in booking form. If user don't check it new booking is simply created. But if user check it I have to create another booking for another event with custom price and similar information like country, names etc...

    In a few words I have to "api" for creating new booking.
    Any idea?


  2. agelonwl
    Posted 2 years ago #

    unfortunately, this isn't possible at the moment.

  3. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    it is possible, but you have to custom code it.


    $EM_Booking = new EM_Booking();
    //add event id, ticket ids, quantities etc.

    you can see how we do that via the EM_Booking::get_post() function

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Events Manager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic