1 ticket per event per customer

Home Forums Ticket Products Event Tickets Plus 1 ticket per event per customer

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1382158
    Sarah
    Participant

    I am trying to limit customers to purchasing only one ticket for each event but they can purchase more than one event. I have a series of extra questions I ask for each customer and when they buy more than one ticket generally for another person the extra ticket or person does not have a section to answer the questions.

    #1383220
    Geoff B.
    Member

    Good evening Sarah and welcome to the Events Calendar Support forum!

    Thank you for reaching out to us.
    I would love to help you with this topic.

    I am trying to limit customers to purchasing only one ticket for each event but they can purchase more than one event

    You could achieve that using a third-party WooCommerce plugin (which let’s you set minimum and maximum quantities for each WooCommerce product.

    Another approach is simply to apply the following snippet in the functions.php file of your theme (without the PHP tag at the top): https://gist.github.com/GeoffEW/075787fd6b427e1c47be0d756ca5b26c

    But first to be extra safe, before making any changes to your functions.php file, you should make a backup of that file.

    when they buy more than one ticket generally for another person the extra ticket or person does not have a section to answer the questions.

    That is actually surprising, the additional attendee info should show up for every single ticket.
    The only exception to that is if the quantity of tickets is changed while the customer is in the cart (we do have a snippet to prevent that as well).

    Let me know how that goes.

    Best regards,
    Geoff B.

    #1399542
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘1 ticket per event per customer’ is closed to new replies.