I have seen a few people ask about this, and i believe I have discovered a way to fix this without a plugin.
To modify RSVP tickets default and max quantities you’ll need to create a template override for the RSVP tickets form.
The file is located at:
wp-content/plugins/event-tickets/src/views/tickets/rsvp.php
Copy it over to:
wp-content/themes/your-theme-child/tribe-events/tickets/rsvp.php
Once the copy is in place,
Go to line 75 to 86, where you’ll see the following:
75 <tr>
76 <td class=”tribe-ticket quantity” data-product-id=”<?php echo esc_attr( $ticket->ID ); ?>”>
77 <input type=”hidden” name=”product_id[]” value=”<?php echo absint( $ticket->ID ); ?>”>
78 <?php if ( $is_there_any_product_to_sell ) : ?>
79 <input
80 type=”number”
81 class=”tribe-ticket-quantity”
82 min=”0″
83 max=”<?php echo esc_attr( $ticket->remaining() ); ?>”
84 name=”quantity_<?php echo absint( $ticket->ID ); ?>”
85 value=”0″
86 <?php disabled( $must_login ); ?>
On line 83 just add the limit you wish for your RSVPs, like this
max=”2″<?php echo esc_attr( $ticket->remaining() ); ?>”
I’d like the admin here to test this on their end and confirm that it works for them as it has for me.
-Nancy Hernandez