Support

Home Forums Event Espresso Premium Removing amount of tickets from user view

Removing amount of tickets from user view

Posted: April 13, 2014 at 7:08 pm

Viewing 5 reply threads


Jason Lee

April 13, 2014 at 7:08 pm

Hi,

The users are able to see the amount of tickets available in a few spots when reserving tickets (and I also believe when the tickets are sold out). How would I go about hiding this from the user?

I have a membership site using EE3 and s2memberpro.


Dean

April 14, 2014 at 2:17 am

Hi,

On the event list you can use CSS to hide the available spaces:

.spaces-available { display: none; }

Where else did you want the available spaces to not appear?


Jason Lee

April 17, 2014 at 11:39 am

Where exactly would I add the CSS?


Josh

  • Support Staff

April 17, 2014 at 11:43 am

Anywhere that loads into the head of the webpage is fine. I like to use the Reaktiv CSS Builder plugin in cases like this one.


Jason Lee

April 19, 2014 at 5:54 pm

Thanks, I downloaded the plugin and put the code in. The current number of attendees is still showing though on a full event.

“We are sorry but this event has reached the maximum number of attendees!
Please check back in the event someone cancels.
Current Number of Attendees: 20”

Is this a different piece of CSS or did I not put the other one in the right spot? (I just cut and paste Dean’s code in the CSS box in the builder on the plugin)

Thanks for the help guys


Lorenzo Orlando Caum

  • Support Staff

April 20, 2014 at 2:03 pm

Hello Jason,

To do that you would need to edit the registration_page.php template.

Copy both the registration_page.php and registration_page_display.php files from wp-content/plugins/event-espresso/templates to wp-content/uploads/espresso/templates/

Then in that new location open up registration_page.php file.

You can then remove the line for the attendees number and save changes:

http://cl.ly/image/0D2h1e1j0m1a


Lorenzo

Viewing 5 reply threads

The support post ‘Removing amount of tickets from user view’ 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