Support

Home Forums Event Espresso Premium Multi-Event Registration Cart Items

Multi-Event Registration Cart Items

Posted: October 18, 2013 at 9:41 pm


Eve

October 18, 2013 at 9:41 pm

Hello – I am using multi-event registration. I want to set-up a notification bar in the header of my site that reads something like ‘YOUR TICKET PURCHASE IS NOT COMPLETE – GO TO CHECKOUT >>’ but only have it active if they’ve added tickets to their cart. This way it is easy for them to return to the cart and complete their purchase.

Can you advise if there is a code snippet or shortcode which could help with this?


Dean

October 21, 2013 at 12:53 am

Hi,

This will tell you if there is anything in the cart. That way you can add it to the template/theme and use css or javascript to manipulate it.

if(is_array($_SESSION ['espresso_session']['events_in_session'])) { echo "There is something in your cart"; }

The support post ‘Multi-Event Registration Cart Items’ 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