Hey,
Just to complement what Amanda said. When the documentation talks about a ticket repeater is just a regular repeater where all the tickets will be displayed.
The code snippet in the documentation is doing a query of the tickets’ collection, which returns an array of objects. That array is being assigned as the data of the repeater, that data is then (in the displayTickets() function) assigned to the text elements in the repeater (Name and Price). Also, it assigns the value of the input element for the ticket quantity to 0.
Finally, you have the functions to reserve, checkout and updatetickets that are triggered by individual buttons inside each item of the repeater. You can see their ID’s in lines 17,18 and 19 of the snippet.
To answer your question, yes, as long as you have all the correct elements inside the repeater and the correct ID’s, the snippet in the documentation should allow you to select and checkout your event tickets.
As a side note, the snippet is looking for an event called My Event (line 29), you need to adjust that too.