Empty Cart/Back to Shop

Home Forums Ticket Products Event Tickets Plus Empty Cart/Back to Shop

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1108177
    Christian
    Participant

    Hello again Tribe!

    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?

    How might I circumvent this dead-end scenario?

    Thanks

    Christian

    #1108983
    Brook
    Participant

    Howdy Christian,

    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.

    https://gist.github.com/elimn/30c533fad7ee5ce4c3cb8a0f727c7190

    Did that do what you’re looking for?

    Cheers!

    – Brook

    #1114597
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Empty Cart/Back to Shop’ is closed to new replies.