-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Limit number of tickets per transaction #1361
Comments
+1 |
just scanning the code, I imagine there is edge cases to consider (such as the |
It would be interesting to add this as a per-ticket-type option. For example allow the 10 usual tickets for regular tickets, but only 1 for microsponsors |
Sometimes there's a need to limit the number of tickets per transaction.
It would be ideal if Camptix allowed for a "maximum tickets per transaction" option per ticket / reservation / coupon / event.
This may not prevent someone purchasing multiple tickets in multiple transactions, but would be useful in certain circumstances.
This could be very useful for Speaker tickets / coupons, where a generic coupon/reservation is shared with speakers, with the intention of them claiming one-per-speaker, but seeing they can claim multiple leads to additional plus ones.
Other events may be special, and intended on every attendee having a singular ticket (Community Summit for example).
This came up on Slack today:
https://wordpress.slack.com/archives/C08M59V3P/p1724266664412339
It turns out we have some code to do this, to limit it to 1 per transaction for specific sites:
wordcamp.org/public_html/wp-content/mu-plugins/camptix-tweaks/camptix-tweaks.php
Lines 997 to 1015 in dfe9fe7
See also; #740 and #1305
The text was updated successfully, but these errors were encountered: