Home › Forums › Ticket Products › Event Tickets Plus › Limiting Ticket/RSVP to 1
- This topic has 3 replies, 2 voices, and was last updated 5 years, 9 months ago by Alex Vasquez.
-
AuthorPosts
-
June 19, 2018 at 11:52 am #1556476Alex VasquezParticipant
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.
June 19, 2018 at 8:09 pm #1556753Geoff B.MemberGood 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.June 20, 2018 at 12:36 pm #1557545Alex VasquezParticipantHi 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?
June 20, 2018 at 3:14 pm #1557676Geoff B.MemberGood 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/9a457b724e38b3036f8d48adc90930edLet me know how that goes.
Best regards,
Geoff B.July 12, 2018 at 9:35 am #1573732Support DroidKeymasterHey 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 -
AuthorPosts
- The topic ‘Limiting Ticket/RSVP to 1’ is closed to new replies.