Search Results for 'booking form'

WordPress Event Management, Calendars & Registration Forums Search Search Results for 'booking form'

Viewing 15 results - 76 through 90 (of 932 total)
  • Author
    Search Results
  • #38465

    zwazo

    Hello.

    WP 5.5
    EO 3.10.0

    When a user selects a ticket from the pick list, the total number of tickets and total price is not updated.

    The user has to submit the form twice to get the value updated.

    Thanks in advance for your help.

    best regards,

    Jef

    #38457

    Owen Morris

    Hi Stephen,

    I have been having problems with setting up booking forms.<br />
    Each time I set the field order and save, it looks fine. Then I re-load the form, and the fields are all in a seemingly random order again.

    #38428

    Squirrelhouse

    Need Pro support for live site ASAP please – had no response to my contact form submission 24h ago.

    Pro Version 3.0.14, EO Version 3.10.0, PHP 7.4, WP 5.4.2, JQ 1.12.4

    Problem is Booking never completes – clock remains spinning. Chrome suggests problem might be occurance-picker with cannot read property, code undefined at i at object.firewith

    First I tried to deactivate all plugins and reactivate but the Event Pro plugin broke my WordPress and I had to restore the db from backup to get back in.

    1. What to do with booking not completing?
    2. What is the process for updating Pro?
    3. I couldn’t upload a System Info File even though it was a MD file type – contact form still thinks its an invalid type.

    Thanks

    David

    #38401

    Stephen Harris

    So first you’d need to create you’re own single-event.php with the event description below the post content (which I think you’ve down).

    That will get you to situation where you have:

    • title
    • description
    • booking form
    • event details

    To get the booking form below the event details, first uses the following to disable automatic rendering of the booking form:

    add_filter( 'eventorganiser_pro_get_option_disable_automatic_form', '__return_true' );
    

    and then back in the single-event.php call:

    echo eo_get_booking_form( get_the_ID() );
    

    wherever you want the form to appear.

    #38389

    René Vlak

    Hi Stephen, today I tried to rearrange the layout of the single event page. I need to order information in this way:

    1. Event title
    2. Description (from post content)
    3. Event details
    4. Booking form

    I followed the documentation but I could only get the booking form to appear either between the ‘Description’ and the [‘Event details’, or above the ‘Description’ (with the above PHP snippet). I could not get it to appear at the very bottom.

    Would you be able to explain how to get the information presented in the required order?

    Many thanks,

    René

    #38306

    In reply to: One ticket per booking


    Stephen Harris

    Hi Kamil,

    Apologies, I ddn’t see you reply. You can do this with the following code:

    add_action( 'eventorganiser_validate_booking_submission', function( $input, $form, $errors ){
    
        $ticketpicker = $form->get_element( 'ticketpicker' );
        $tickets = count($ticketpicker->get_value());
    
        if($tickets > 1) {
            $ticketpicker->add_error( 'too_many_tickets', 'You may only book 1 ticket for this event.' );
        }
    
        return $input;
    }, 20, 3);
    
    #38166

    In reply to: Booking Form Layout


    Stephen Harris

    Hi Zach,

    It looks like you’ve achieved it already. Just to say that you can also alter the HTML of the booking form (see templates/booking-form) – so if you find that you can’t achieve something with CSS alone and need to change the structure of the booking form, you can.

    #38165

    In reply to: One ticket per booking


    Stephen Harris

    Hi Kamil,

    For setting the ticket quantity to 1 you can do the following:

    <?php
    add_action( 'eventorganiser_get_event_booking_form', function( $form, $event_id ){
        $tickets = eo_get_event_tickets_on_sale( $event_id );
    
        $ticketpicker = $form->get_element('ticketpicker');
        $ticket_insts = array(); 
        $counter = 1;
    
        if ($ticketpicker->get_tickets()) {
            return;
        }
    
        foreach ( $tickets as $tt_id => $ticket ) {
            $ticket_insts[] = ['eocid' => "eoc${counter}", 'type' => $tt_id ];
        }
    
        $ticketpicker->set_value($ticket_insts);
    }, 10, 2 );
    

    For the second part you can hook into eventorganiser_transition_booking_status:

    add_action('eventorganiser_transition_booking_status', function($new_status, $old_status, $booking) {
       //do something when $new_status = 'cancelled' and $old_status ='confirmed'
    }, 10, 3);
    
    #38142

    Zachary Cole

    Hi Stephen! Was wondering if there is some simple CSS that allows us to place the various form boxes to be side by side (like the first and last name one or the state and zip code ones) instead of all stacked. See screenshot here: https://drive.google.com/file/d/1xCjGNkgRLZ7Vm-yJ0gzEa2qi_ML1nz6n/view?usp=sharing This would shorten the height of the form overall which is what I’m hoping to accomplish. Here is the webpage for reference: https://www.yourwellnessconnection.com/event/community-wide-wellness-consortium-july/ Thanks for your help! – Zach screenshot

    • This topic was modified 5 years ago by  Zachary Cole.
    • This topic was modified 5 years ago by  Zachary Cole.
    #38124

    Kamil Konečný

    Hello Harris,
    I have one problem. For the event I have only one possible ticket but when the form is shown, the quantity is set in form to 0. Many times the customer “send” empty registration and complain after several days that the booking failed.
    I try to set in PHP the default value 1 but the value and also the limits are revrited by JS and set back to 0. It hurts me a lot.
    Ïs there any simple way how to preset the quantity field to 1?

    Second, lower priority question is how to send email to bookie when the booking status is changed (like to Confirmed or to Canceled).

     Thanks a lot Kamil
    

    The example of form:
    http://www.pghnizdo.cz/events/event/zakladni-kurz-paraglidingu/

    #38025

    In reply to: CSS for Booking Button


    Leslie Brashear

    This is the site.
    https://alert.dsites.us/

    Exact match would be fantastic but at least something closer to the look of the site would be better.

    Honestly the whole booking form could better match the site. It’s a little rough.

    #37999

    Joan Conrow

    I have sorted the 500 error which was a problem with a custom function (sorry). The booking now goes through as ‘confirmed’.

    However the form not showing the success message is a still a problem: no confirmation is shown and it is confusing to users. Any ideas on how to debug this please?

    #37986

    Joan Conrow

    I’m trying to sign-up attendees who opt-in, to MailChimp. I’m using:

    function afs_event_registration_callback($booking_id) {
           $submit_data = array();
    
           $submit_data['email'] = eo_get_booking_meta($booking_id, 'bookee_email', $single = true);
           $submit_data['firstname'] = eo_get_booking_meta($booking_id, 'bookee_first_name', $single = true);
           $submit_data['lastname'] = eo_get_booking_meta($booking_id, 'bookee_last_name', $single = true);
          afs_mailchimp_post($submit_data, $list_id);
    
        }
    
        add_action('eventorganiser_new_booking', 'afs_event_registration_callback', 10, 1);
    

    However the booking has an ‘incomplete’ status and the Ajax form still displays with no confirmation message. It looks like a 500 internal server error is happening as you can see in this image from dev tools.

    https://imgur.com/a/8hymNIe

    If I comment out the hook, the booking is confirmed fine. Is this the right hook to use for what I am trying to do?

    Many thanks

    #37976

    Stephen Harris

    Hi Robert,

    There is template, templates/eo-booking-form-confirmation.php which is used to render the confirmation of a booking. This will by default just reference the booking reference and status, but you can also include other details such as the tickets, total price of the booking.

    The template uses underscore’s template engine, so <%- reference %> will embed the ‘reference’ property of the booking object.

    #37919

    Robert Stankey

    I have a recurring event where people RSVP how many people are in their party (the ‘tickets’ are free in this case). Once they’ve clicked ‘Book’ I’d like to take them to another page where some summary information can be shown (preferably launch a new window and show the info). Is this possible in Event Organiser Pro?

Viewing 15 results - 76 through 90 (of 932 total)