• Resolved andreas

    (@eco4drive)


    events manager ha the function for manually entering a booking from the backend: this is good, cause some people are booking events via telephone or normal email – but…

    if i enter a manual booking in the backend i see in fact the same form, as the customer on the website and this makes it much more complicated, than it could be: perhaps i have to confirm, “yes, i am 18 years old”, i have to check the box to allow data usage and later, also in the backend, i have to confirm the booking again.

    why that? if i, as the manager, apply a manual booking, it should be ok…

    also the customer get the automated email “your booking is arrived, but we have to confirm first – you will get another mail later…” – also this will confuse the customer.

    would be helpful, if this could turned off ??

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    with regards to privacy settings, you can set this to show only to guest users using options under Events > Settings > General > Privacy > Consent > Bookings Forms

    Thread Starter andreas

    (@eco4drive)

    thanks, angelo – butsorry, this did not work.
    the form in the backend is still the same with the gdpr checkbox.

    i’ve made a custom booking form with anther checkbox for “yes, i am 18 years old” and the IP-adress code from stonehenge (patrick b.). may thats the reason?

    unfortunately events manager actual does not ho me my booking forms, there is only a blank screen!

    Stonehenge Creations

    (@duisterdenhaag)

    Hi Andreas,
    EM uses the same booking form for front-end and back-end. ??

    To auto-check the checkboxes:

    function alter_manual_booking() {
    	?><script>
    	jQuery(document).ready(function($){
    		$('#ip_address').val('Manual Booking');
    		$('#em-payment-full').attr('checked', true);
    		$('#eighteen_years').attr('checked', true);
    	});
    	</script><?php
    }
    add_action('em_after_manual_booking_form', 'alter_manual_booking');

    The IP Address will still be shown as yours while creating the booking, but it will save “Manual Booking”. So when viewing the booking, or sending an email, “Manual Booking” will be used. (You might want to change it to “Manuelle Buchung”.)

    To auto-approve a manual booking, but not send the email:

    function auto_approve_manual_booking($result, $EM_Booking) {
    	// Only target manual bookings.
    	if( $_REQUEST['action'] === 'booking_add' && isset($_REQUEST['manual_booking']) ) {
    		// Approve and do not send email.
    		$EM_Booking->set_status(1, false); // true = send email.
    	}
    	return $result;
    }
    add_filter('em_booking_save', 'auto_approve_manual_booking', 11, 2);

    If you do want to send the “Booking Approved” email to the customer, change “false” to “true”.

    Hope it helps ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘manual booking complicated’ is closed to new replies.