Support

Home Forums Event Espresso Premium Hiding number of tickets EE4?

Hiding number of tickets EE4?

Posted: October 10, 2014 at 2:53 pm


jts2005

October 10, 2014 at 2:53 pm

I was searching and found out it was not possible but the post were from early this year. Is there anyway to hide the number of tickets sold or that are left? I think it may deter people from registering and could be a big problem down the road. I think if they see no one has registered for the event then they may not register themselves.


Lorenzo Orlando Caum

  • Support Staff

October 10, 2014 at 4:43 pm

See these examples:

https://eventespresso.com/topic/ee4-how-to-hide-how-many-tickets-were-sold-or-show-unlimited-tickets/#post-86179

https://eventespresso.com/topic/how-to-hide-tickets-sold/


Lorenzo


jts2005

October 10, 2014 at 7:39 pm

Problem with those is that it hides the surcharge and I need it to show to my members the surcharge fee. It is tied to the same table as the area I am trying to remove.


Dean

October 13, 2014 at 3:31 am

Hi,

This should remove the sold tickets:

.tckt-slctr-tkt-datetimes-sctn .tckt-slctr-tkt-details-tbl-wrap-dv .tckt-slctr-tkt-details-tbl th:nth-child(5),
.tckt-slctr-tkt-datetimes-sctn .tckt-slctr-tkt-details-tbl-wrap-dv .tckt-slctr-tkt-details-tbl td:nth-child(5),
.tckt-slctr-tkt-datetimes-sctn .tckt-slctr-tkt-details-tbl-wrap-dv .tckt-slctr-tkt-details-tbl th:nth-child(3),
.tckt-slctr-tkt-datetimes-sctn .tckt-slctr-tkt-details-tbl-wrap-dv .tckt-slctr-tkt-details-tbl td:nth-child(3)
{
  display: none;
}


jts2005

October 13, 2014 at 5:43 am

Thanks for the effort but I should have been a bit more clear. I want to hide that whole section without hiding my surcharge. I know it is tied to one another and not sure if it is possible.


Dean

October 13, 2014 at 6:55 am

.tckt-slctr-tkt-datetimes-sctn {
	display:none
}

As far as I can tell, that will hide the whole section while ignoring the surcharge: http://take.ms/xyQI3


jts2005

October 13, 2014 at 7:42 am

hmm, interesting. this is what mine shows after adding that CSS

http://i.imgur.com/P1fpqnp.png


Lorenzo Orlando Caum

  • Support Staff

October 13, 2014 at 11:57 am

Hi,

Remove the CSS here from your site:

https://eventespresso.com/topic/hiding-number-of-tickets-ee4/#post-122611

Then add this CSS:

https://eventespresso.com/topic/hiding-number-of-tickets-ee4/#post-122643

Then force refresh your web browser and you should now see only the surcharge with the other ticket information gone.


Lorenzo


Noelene Evans

October 23, 2014 at 3:10 am

can you please tell me where I put this code on the site? I have no idea and am feeling a little frustrated! Would be SUPER if EE could make this an option in their next upgrade!


jts2005

October 23, 2014 at 6:57 am

It goes in your functions.php of your theme. Just remember if you update your theme you will need to redo the edits in the functuons.php as it overwrites them, unless you have a child theme.

The support post ‘Hiding number of tickets EE4?’ 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