Posted: 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. |
See these examples: https://eventespresso.com/topic/how-to-hide-tickets-sold/ — |
|
|
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. |
|
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; } |
|
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. |
|
.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 |
|
hmm, interesting. this is what mine shows after adding that CSS |
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. — |
|
|
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! |
|
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.