Support

Home Forums Event Espresso Premium Add Remaining Spaces on Single Event Page Under Ticket Name Remove View Details

Add Remaining Spaces on Single Event Page Under Ticket Name Remove View Details

Posted: August 24, 2019 at 2:22 pm

Viewing 6 reply threads


jdbell1994

August 24, 2019 at 2:22 pm

I would like to add the remaining spaces for each ticket under the ticket name on the single event page as well as disable the view details section. Our registrants only need to know the ticket name and how many spaces are available for that ticket slot.

In our use case it would show the list of the ticket names (which are just the date of the event) and each ticket name would show Remaining Spaces: x underneath the ticket name.

Thank you for your help


jdbell1994

August 24, 2019 at 2:27 pm

I successfully removed the view details button using the following…

`/*Remove view details button from single event page*/
.display-tckt-slctr-tkt-details {
display:none;
}’


Lorenzo Orlando Caum

  • Support Staff

August 26, 2019 at 11:19 am

Hello,

You can show the remaining spots near the datetimes by using this code snippet:

https://eventespresso.com/wiki/useful-php-code-snippets/#display-remaining-ticket-inventory

It can be added to a site specific plugin:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/


Lorenzo


Tony

  • Support Staff

August 26, 2019 at 12:15 pm

I successfully removed the view details button using the following

There is an option to remove that from the ticket selector within EE itself.

Event Espresso -> Events -> Templates -> Ticket Selector Template Settings -> Show ticket details.

Set that to no and save. The link to show additional details will be removed.


jdbell1994

August 26, 2019 at 12:37 pm

Lorenzo,
Yes I have this snippet already added but it adds the spaces remaining in a different location. The user has to scroll half way down the page to see the spaces remaining and then figure out which date time coincides with which ticket. I just want the spaces remaining below the ticket name in the ticket selector list.

Tony,
Thank you for the information I will do that instead.


jdbell1994

August 26, 2019 at 12:54 pm

For example…
On this page linked to below…
https://cloudserver.deservicesaztraining.com/classes/q-3-cpr-first-aid-combo/ You’ll see that the ticket names are just the start date of the training. I would like to have the Spaces Remaining: X listed under each ticket name.


Tony

  • Support Staff

August 27, 2019 at 6:12 am

Hi there,

We don’t have an easy method you can use to add additional information in the location you want to add details into the ticket selector. EE does have a couple of filters that allow you to filter the entire row (FHEE__ticket_selector_chart_template__do_ticket_entire_row) or the entire contents of that row (FHEE__ticket_selector_chart_template__do_ticket_inside_row) but using those you would need to basically duplicate a lot of the functionality EE has to create the row in the first place.

Also, tickets are used to grant access to datetimes which mean you could have multiple tickets assigned to a single DateTime, each with their own limit set. We show the spaces available for a DateTime because ultimately it’s the DateTime qty that limit the registrations. I know that not the set up you are using, but the point being is adding that output to the ticket selector is specific to your setup so it’s not something we support adding to the ticket selector.

What you could do without any custom development is change the order the details are set on the event page to display the DateTimes first.

Viewing 6 reply threads

The support post ‘Add Remaining Spaces on Single Event Page Under Ticket Name Remove View Details’ 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.

Event Espresso