Posted: July 22, 2015 at 8:23 am
|
I’m using EE for a homeschool co-op; each ticket represents a class. I’m wondering if it’s possible to display the number of available tickets, along with the ticket description? Like this – see the ‘slots filled’ numbers? Thanks! |
Hi, I have some sample code that will show the remaining datetimes in the ticket selector (https://gist.github.com/lorenzocaum/74ebc1ce4ed43761096c). I also have one that will show the ticket description. The issue is that the presentation of the information will be different. Generally speaking, will you be creating an event for each ticket option? If so, then you could add the information to the event description area and then use this: https://gist.github.com/lorenzocaum/74ebc1ce4ed43761096c — |
|
|
In our case, each ‘event’ as a semester of classes and each ‘ticket represents a class. So we would always have an event with a whole list of classes. It would be nice to show the seats available in the ticket selector but is there any way to list the tickets in an event, the description and seats remaining outside of the selector? |
|
Regarding the gist: /wp-content/plugins/eea-events-table-view-template/templates does not exist in my install. My main EE plugin folder is /wp-content/plugins/event-espresso-core-reg. |
Hi, that link was for showing remaining datetimes on the Events Table View Template. I meant to share this one: https://gist.github.com/joshfeck/0e2e59c39a36b76cc65a3b92f9543c79 Here is a preview: http://cl.ly/image/0W273W2Z0K3q Thanks — |
|
|
Perfect, thanks. FYI there’s a typo in the filename of the second link – it has a period in the middle instead of underline. |
|
Anyway to change ‘INF’ to something like ‘N/A’? |
|
Still waiting on a resolution for it showing ‘INF’ instead of ‘0’ or not available. ‘INF’ doesn’t say much to a registrant. |
|
Do you have a solution for showing ‘0’ if all tickets are sold instead of ‘INF’? |
Hi there, It turns out INF means there is not a set limit for that ticket. If you do not set a limit, the system recognizes this as “unlimited”. Here’s a suggested change to Lorenzo’s template modification that will print “No limit” for tickets that don’t have a limit set: Around line 147 you’ll find this:
You can change it to read something like:
Nice catch on the typo, btw. I left a note for Lorenzo and asked him to fix the filenames so they match. |
|
|
Ah – I was incorrect about one aspect. I have listed a class that has 0 tickets available. That’s probably why it’s showing INF. I should probably just remove that class entirely since no one can register for it anyway. |
If you try to input a 0 for tickets available, the 0 will get wiped out, leaving a blank field, because the Ticket editor will not allow 0 for a max quantity limit. So the INF you saw actually means unlimited. |
|
|
Ok – this was my fault then. Thanks for clarifying. |
The support post ‘Possible to list tickets with description & quantity available?’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.