Clicking Add to cart works fine; viewing the shopping cart afterwards does show the event. However, the requested number of tickets is still 0. Visitor has to increase this manually to 1 (the max number of tickets he can buy), from there it works allright again. If visitor leaves it at 0, he has to removing it from the shopping cart to be able to proceed.
I would like ‘Add to shopping cart’ to put 1 (not 0) tickets in the shopping cart. Even better would be if user was completely unable to change number of tickets: buy either one, or remove from cart.
I added ?> at the end of shopping_cart.php, added your code and it worked great! Thanks!
The following sentence, “You can register a maximum of %d attendees for this event.”, now does not make much sense anymore. Can you help me get rid of that next table row? I searched the code for <td colspan=”3″> and reg-allowed-limit but could not find it. Thank you!
Thanks for your elegant solution, this works perfectly for me. The theme I use has a box for custom css, so I put it there and it will survive plugin updates.
How about the changes I made to shopping_cart.php, will they get lost when the plugin gets updated? Will saving those files in a child theme folder work?
If you copy that modified shopping_cart.php file to wp-content/uploads/espresso/templates/ Event Espresso will use that file and it will then be ‘update-safe’
The support post ‘Add to cart works but number of tickets remains 0’ 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.