I would like to ask you if is possible to change my bookings behaviour. Specially canceling events. I would like to give users opportunity to cancel event till date of start of this event not to date of ticket availability.
I did changes in my-bookings.php where I deleted part of -> has_open_time() I was able to cancel events all the time. But this is not what I’m looking for. I would like to have option to cancel of event only to date when event will start. When event started I would like to get updated status of event to “Ended” and no more options to cancel event after start date.
if( !in_array($EM_Booking->booking_status, array(2,3)) && get_option('dbem_bookings_user_cancellation') && $EM_Event->get_bookings()->has_open_time() )
- The topic ‘My Bookings’ is closed to new replies.