Support

Home Forums Event Espresso Premium Display bug in cart.php when $attendee_overflow

Display bug in cart.php when $attendee_overflow

Posted: July 14, 2013 at 1:14 pm


Rob Mougey

July 14, 2013 at 1:14 pm

I’m using 3.1.33.3.P and noticed a small bug in cart.php.

If I have a maximum of 10 registrations allowed for an event, and try to “Enter Attendee Information” with zero selected in the dropdown, I get this message:

AttentionFor My Event, please make sure to select between 1 and 11 attendees or delete it from your cart.

There needs to be a space after “Attention”, and it looks like there is an off-by-one error computing the max number to display (11 instead of 10).


Dean

July 15, 2013 at 1:19 am

Hi Rob,

Thanks for letting us know.

The Attention doesnt have a space after it, thats correct, it was coded so the default CSS will display:block the word attention and thus drop the rest of the content below it.

I will raise a developer ticket to look into the extra count, it looks like it is counting 0 into the mix as PHP tends to do.

The support post ‘Display bug in cart.php when $attendee_overflow’ 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