Limiting Ticket/RSVP to 1

Home Forums Ticket Products Event Tickets Plus Limiting Ticket/RSVP to 1

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1556476
    Alex Vasquez
    Participant

    I just need to limit the qty of tickets someone to purchase to just 1. I saw a discussion with some code snippets but they no longer seem to work.

    #1556753
    Geoff B.
    Member

    Good evening Alex and welcome back!

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

    You could 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.

    Let me know how that goes.

    Best regards,
    Geoff B.

    #1557545
    Alex Vasquez
    Participant

    Hi Geoff,

    Good to be back and thank you! So I took the snippet of code you provided and placed it in a “functionality plugin.” And it seems I can still change the ticket qty number. http://recordit.co/GjHhVEydVG/gif/notify

    Any other thoughts there?

    #1557676
    Geoff B.
    Member

    Good evening Alex,

    Thank you for writing back.

    The snippet I provided works for RSVP, but not for WooCommerce tickets.
    You will need to add the following snippet to include them: https://gist.github.com/cliffordp/9a457b724e38b3036f8d48adc90930ed

    Let me know how that goes.

    Best regards,
    Geoff B.

    #1573732
    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 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Limiting Ticket/RSVP to 1’ is closed to new replies.