Support

Home Forums Events Calendar Add-on Hide Pricing for Free Events (2)

Hide Pricing for Free Events (2)

Posted: June 17, 2020 at 7:55 pm

Viewing 5 reply threads


Stephen Hodges

June 17, 2020 at 7:55 pm

Hi, I am running Divi on WordPress and EE 4.10.4.p.

I have events that I would like to not charge during registration. How do I hide the pricing site-wdie?? I have already set it to $0.

Cheers


Tony

  • Support Staff

June 19, 2020 at 5:52 am

Hi there,

Currently, we don’t have the option to hide ‘free’ pricing within Event Espresso. You could use some CSS to hide it across the site but it will also remove the price for paid tickets.

We do have a snippet that can be used to change $0 to ‘Free’ if that will work for you?

Its available here: https://github.com/eventespresso/ee-code-snippet-library/blob/master/templates/de_ee_convert_zero_to_free_filter_example.php

Add that to custom functions plugin on the site, we have some documentation on creating one here:

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


Stephen Hodges

June 20, 2020 at 10:29 pm

What is the CSS for hiding pricing on the entire site? This site is only doing free events. Thanks!


Tony

  • Support Staff

June 22, 2020 at 5:45 am

Something like this:

/* Ticket Selector */
.ee-ticket-selector-ticket-price-th,
.tckt-slctr-tbl-td-price {
    display: none;
}

/* SPCO Ticket details */
.spco-ticket-details th:nth-of-type(3), 
.spco-ticket-details td:nth-of-type(3), 
.spco-ticket-details th:nth-of-type(4), 
.spco-ticket-details td:nth-of-type(4) {
    display: none;
}


Stephen Hodges

June 24, 2020 at 12:13 pm

It works great, thanks!


Tony

  • Support Staff

June 25, 2020 at 4:47 am

You’re most welcome.

Viewing 5 reply threads

The support post ‘Hide Pricing for Free Events (2)’ 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