Support

Home Forums Event Espresso Premium Expired Tickets

Expired Tickets

Posted: April 4, 2015 at 6:07 am

Viewing 2 reply threads


TheiaStudios

April 4, 2015 at 6:07 am

EE4

I want to prevent expired tickets from showing up. ie

I have two tickets. One is an early pricing ticket which expires before the regular ticket.

example
https://theia-studios.com/sportsworkshop/

how can I accomplish this?

Thank you!


Lorenzo Orlando Caum

  • Support Staff

April 5, 2015 at 8:55 pm

Hi, you can do that by using some CSS. This tutorial provides examples on targeting various ticket statuses:

https://gist.github.com/lorenzocaum/7c1d3dce3c9efe486361

This line of CSS will hide expired tickets from the ticket selector on the event listing page and the single event page:

/* Hide ticket options with a status of expired */
.espresso_events .ticket-sales-expired {display:none;}

It can be added to your child theme’s stylesheet or a plugin like Reaktiv CSS Builder or My Custom CSS.


Lorenzo


Lorenzo Orlando Caum

  • Support Staff

November 20, 2015 at 6:57 am

Hello,

We wanted to let you know that there is now a template option available that can hide expired tickets.

It is available in a current version of Event Espresso 4 and can be found in WP-admin (WP Dashboard) –> Event Espresso –> Events –> Templates. Then scroll to the end of the page and look for the Ticket Selector options. You can then set it to not show expired events and then click on Save to save changes.

Thanks


Lorenzo

Viewing 2 reply threads

The support post ‘Expired Tickets’ 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