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
Set Minimum attendees at 1 - not 0 (mulitple registration) | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium Set Minimum attendees at 1 – not 0 (mulitple registration)

Set Minimum attendees at 1 – not 0 (mulitple registration)

Posted: October 13, 2013 at 8:47 pm

Viewing 3 reply threads


Kathleen Dwyer

October 13, 2013 at 8:47 pm

I have disabled the group registration option and want the # of attendees default to be ‘1’ not ‘0’ – it’s very confusing when people try to register for multiple classes and have to go back to the drop down menu to select ‘1’.

WP 3.6.1
EE Version 3.1.35.1.P
Multiple Registration Addon Version 1.0.4


Anonymous

October 14, 2013 at 4:04 am

Hi Kathleen,

The problem with defaulting to ‘1’ is that if an event has for example 5 ticket types, each of those ticket types will default to ‘1’.

Lets say you have Adult/Child/Adult+Meal/Child+Meal/Family, by default 1 each of those tickets would then be selected. You wanted just 2 x Adults. You’ll need to also set each of the other ticket types to 0.

This also opens up the possibility of attendees booking onto tickets they did not intend, meaning more admin work to refund the unintended tickets.

Also with the current setup the cart total would not update automatically until at least one ticket quantity had been changed/re-selected how ever this could maybe fixed with a little JavaScript.


Kathleen Dwyer

October 15, 2013 at 8:46 am

Thanks Tony. Is there a way I can make the change to ‘1’? I have no mulitple ticket (class) types.


Josh

October 15, 2013 at 1:02 pm

Hi Kathleen,

This is a jQuery snippet that can be added to load up into the shopping_cart.php page that will change the default value in the ticket quantity selector to 1:

<script>jQuery(document).ready(function(){
    jQuery(".price_id").val(1);
    jQuery('#event_espresso_refresh_total').trigger('click');
});
</script>
Viewing 3 reply threads

The support post ‘Set Minimum attendees at 1 – not 0 (mulitple registration)’ 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