• Resolved ritmo105

    (@ritmo105)


    Hello, is it possible to add a button that generate a pdf after the submit of the form?

    Thank you

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author wpdevelop

    (@wpdevelop)

    Hello.
    Unfortunately, this functionality is not available in the Booking Calendar. Sorry.
    Kind Regards.

    Thread Starter ritmo105

    (@ritmo105)

    Please, do you know a plug in that can do this together with booking calendar?

    Thank you

    Plugin Author wpdevelop

    (@wpdevelop)

    In the Booking Calendar you can set redirection to some “thank you” page, after creation of booking. And at this page you can use some other plugin, which can generate your pdf file.
    I can not suggest some plugin for generation of pdf files. Try to search here in WordPress directory.
    Kind Regards.

    Plugin Author wpdevelop

    (@wpdevelop)

    In the Booking Calendar you can set redirection to some “thank you” page, after creation of booking. And at this page you can use some other plugin, which can generate your pdf file.
    I can not suggest some plugin for generation of pdf files. Try to search here in WordPress directory.
    Kind Regards.

    Thread Starter ritmo105

    (@ritmo105)

    Hello, I’m finding some problems to make a pdf of the form after the submit. I essentially need to make a pdf with the informations invied for email, is it possibile? I’ve tried to add a shortcode of a pdf plugin, in the page that hosts [bookinkcalendar] but the result is the print of the shortcode and not of the content. There is a way to print a pdf with the same content of the confirmation email to the user? Thank you

    Plugin Author wpdevelop

    (@wpdevelop)

    Hello.
    Unfortunately, such functionality in actual versions of Booking Calendar does not exist. Sorry. Plugin does notsupport the “export” of bookings data to the external page, after submitting of the booking.

    You can use the hook for custom PHP integration for getting booking data during saving booking data into the Database.

    
    /**
     * Hook action after creation  new booking
     * @param int $booking_id
     * @param int $resource_id
     * @param string $str_dates__dd_mm_yyyy    - "30.02.2014, 31.02.2014, 01.03.2014"
     * @param array  $times_array              - array($start_time, $end_time )
     * @param string $booking_form
    */
    function your_cust_func_add_new_booking( $booking_id, $resource_id, $str_dates__dd_mm_yyyy, $times_array , $booking_form  ) {
    
    }
    add_action( 'wpdev_new_booking', 'your_cust_func_add_new_booking', 100, 5 );
    

    Disclaimer. Unfortunately we can not start, right now, some personal customization or custom development, because almost have no free time.
    Check more about new features here https://wpbookingcalendar.com/faq/need-new-feature/
    Thank you for understanding.
    Please note, if you will modify the source code of the Booking Calendar, we will not guaranteed the correct work of plugin and do not support it.
    Thank you.

    Thread Starter ritmo105

    (@ritmo105)

    Hello, sorry but I’m not very able to manage php code, I’m afraid to destroy the site. Where I have to put this code?

    Thanks

    Plugin Author wpdevelop

    (@wpdevelop)

    Hello.
    In my previous comment, just suggestion about direction how possible to resolve this issue, but its doesn’t full solution. Booking Calendar just does not have functionality about export data to external page for ability to generate PDF file.
    And here is 2 ways.

    1) We can add this feature to the TODO list for future updates of plugin. But I can not say when exactly we can implement this. Please check more here: https://wpbookingcalendar.com/faq/need-new-feature/

    2) Or in case if you need to have this in urgent way, in this case, you will be need to make some personal customization. If you have difficulty with that (because in any way its require knowledge of PHP and WordPress ecosystem), so probably you need to find some freelancer or web-developer. We currently we can not suggest some freelancer for your custom work. You can find some WordPress developers here: http://jobs.wordpress.net/
    or here: https://www.upwork.com/o/jobs/browse/?q=wordpress
    or here https://www.freelancer.com/jobs/Wordpress/

    Hope its will be helpful.
    Kind Regards.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Pdf Generation after form submit’ is closed to new replies.