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).
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.
Viewing 1 reply thread
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.
Support forum for Event Espresso 3 and Event Espresso 4.