Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Hide # of Tickets Available when using qty for multiple time slots | Event Espresso - Staging Server

Support

Home Forums Recurring Events Manager 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

  • Support Staff

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 - Staging Server