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?
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"; }
Viewing 1 reply thread
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.
Support forum for Event Espresso 3 and Event Espresso 4.