Support

Home Forums Event Espresso Premium Hiding/revealing various time sensitive pricing levels

Hiding/revealing various time sensitive pricing levels

Posted: December 31, 2019 at 10:07 pm

Viewing 6 reply threads


swellguy

December 31, 2019 at 10:07 pm

Hi there,
About a year ago I wrote:
My event has three levels of pricing, Advance, Early Bird and Regular, each with a different selling period and price. Is there a way in EE4 to hide the tickets that go on sale in the future from the current ticket status and price until it expires and the next level begins?
You kindly provided me with some CSS code which worked at the time but no longer seems to for this year’s event. Can you please advise?
Many thanks in advance.


Josh

  • Support Staff

January 2, 2020 at 11:28 am

Hi,

Can you share a link to the page where the CSS isn’t working? If we can see the page in question we can investigate further.


swellguy

January 2, 2020 at 11:33 am

This reply has been marked as private.


Josh

  • Support Staff

January 2, 2020 at 11:40 am

Hi Kerry,

The reason the solution works on the one page and not on the conference page is because the conference page is using an <iframe>. iframes are basically loading a separate page within the page, so any CSS you add to your page will not be applied.

What you can do is change the page so it uses the ticket selector shortcode instead of the iframe code. It’s a simple change:

1) You go to edit the conference page
2) Remove the iframe code
3) Replace with: [ESPRESSO_TICKET_SELECTOR event_id=228]
4) Click Update to save the changes to the conference page


swellguy

January 5, 2020 at 7:39 am

Hi Josh, Thanks for the guidance. I think the issue I’m having is that event espresso is installed on a subddirectory “events.jewish-funerals.org” the page in question with the iframe code to replace is on “jewish-funerlas.org”. Can you assist here?
Thanks,
Kerry


swellguy

January 5, 2020 at 7:41 am

Sorry, jewish-funerals.org.


Josh

  • Support Staff

January 7, 2020 at 5:42 pm

Here’s another way to add the custom CSS so it will also be applied to the embedded iframe on the other site.

You’ll add the code from this gist to a site specific plugin on the site that has Event Espresso installed:

https://gist.github.com/joshfeck/e9cbd7b661c6de0e8c1b7c04cd981cb1

You can add the above to a functions plugin on your site that has Event Espresso installed.

Viewing 6 reply threads

The support post ‘Hiding/revealing various time sensitive pricing levels’ 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