Using Event Tickets Plus and WooComm, if a customer clicks on ADD TO CART in the Event Ticket sidebar without clicking the ticket number the customer goes to an empty basket page. This page displays RETURN TO SHOP on the right. When the customer clicks there is nothing there because there is no shop with Event Tickets, correct?
Great question. This has come up from time to time so I just took some time and wrote a snippet that will help you out here. This form will throw up an HTML 5 form validation error if the user attempts to submit their form without first selecting at least one ticket.
Paste the following snippet at the top of your theme’s functions.php file. Replace the opening “<?php” with this snippet, as this snippet includes that opening tag.