It doesn’t make sense that, when a user has clicked ‘Add to cart’, the quantity for that item is 0 by default when the cart is viewed. How can I change this so it defaults to 1?
Also, because I am only allowing one registration per event, I would like to remove/hide the ‘Attendee 1’ headings that appear on the checkout/registrant details page, as this is superfluous.
If you have 2 or more prices on an event, however, then the dropdown for each price will default to 1 as well. That’s why they default to 0.
In the file templates/multi_registration_page.php, comment out line 75:
Thanks, Sidney. This works great… except that when you first view the cart, the total is blank (e.g. ‘Total £’) until/unless you click the ‘Refresh Total’ button. Is there anywhere I can call the javascript EECART.calculate_total() when the cart page is first loaded?
The support post ‘Number of attendees set to 0 by default’ 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.