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


KCD-IPMA

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


Tony

  • Support Staff

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.


KCD-IPMA

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

  • Support Staff

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>

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