Support

Home Forums Recurring Events Manager Add-on Hide # of Tickets Available when using qty for multiple time slots

Hide # of Tickets Available when using qty for multiple time slots

Posted: September 13, 2012 at 2:36 pm

Viewing 1 reply thread


Davy

September 13, 2012 at 2:36 pm

I have a few events setup that have several available time slots per day. there are 50 tickets available per slot. Is there a way to disable the display of available tickets?

I searched the forum briefly but did not see another topic like this one.

One of the events I am specifically referring to is here: https://modernismweek.com/?page_id=6&ee=220

You have to add the event to the cart and then view your cart to see the available time slots/tickets.

Screenshot here: https://modernismweek.com/imagehosting/screenshots/available-spaces.jpg


Dean

September 14, 2012 at 12:16 am

Hello

The only way to do this that I can see is to change a core file which we do not recommend.

If you still wish to go ahead then in event-espresso/includes/functions/time_date.php you will see this code on line 219

            $html .= '<option' . $selected . ' value="' . $time->id . '">' . 
        event_date_display($time->start_time, get_option('time_format')) . ' - '
     . event_date_display($time->end_time, get_option('time_format')) . " 
($time->available_spaces " . __('available spaces', 'event_espresso') . ")" . '</option>';

You need to change it to this

$html .= '<option' . $selected . ' value="' . $time->id . '">' . event_date_display($time->start_time, get_option('time_format')) . ' - ' . event_date_display($time->end_time, get_option('time_format')) . '</option>';
Viewing 1 reply thread

The support post ‘Hide # of Tickets Available when using qty for multiple time slots’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso