Support

Home Forums Event Espresso Premium Remove Popups during checkout

Remove Popups during checkout

Posted: May 11, 2016 at 10:26 am


longevitygraphics

May 11, 2016 at 10:26 am

I would really like to get these messages during the checkout process. They popup too fast and customers are unable to read them and think they’ve missed something. They can clearly see on the “thank you” page if the payment went through so I think they’re unnecessary.

http://rotaryfallclassic.ca.lindsayviscount.com/ss/7.jpg

I have already tried this (which didn’t work):

#espresso-ajax-notices{display:none;}

and they popup too fast for me to figure out the CSS selectors.


longevitygraphics

May 11, 2016 at 10:27 am

get rid of these*


Lorenzo Orlando Caum

  • Support Staff

May 11, 2016 at 10:35 am

Hello,

Add this CSS to your theme via its stylesheet or through a plugin like My Custom CSS or through a plugin like Reaktiv CSS Builder to remove the green messages:

div#espresso-ajax-notices-success { display: none !important; }

I recommend trying that first rather than removing them altogether because if all of them are removed and a registrant/attendee makes an error like overlooking a required registration field, then they may not realize it and may close the browser tab confused.


Lorenzo


longevitygraphics

May 11, 2016 at 10:39 am

Hi Lorenzo,

This did not work to remove those messages. I tried again and they still popped up:

#espresso-ajax-notices,
div#espresso-ajax-notices-success{
    display:none !important;
}

If they don’t fill out a required field it highlights it in red anyways. So would you mind telling me how to completely remove them?


Josh

  • Support Staff

May 11, 2016 at 5:21 pm

You can completely remove them by adding the following PHP code to your site:

add_filter( 'FHEE__EE_Front_Controller__display_errors', '__return_false' );

You can add the above to a functions plugin or into your WordPress theme’s functions.php file.


longevitygraphics

May 12, 2016 at 1:45 pm

Thanks Josh


Josh

  • Support Staff

May 12, 2016 at 4:51 pm

You’re welcome.

The support post ‘Remove Popups during checkout’ 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