Just noticed this, possibly since WP 5, but the window that pops up after they click the ‘add to event cart’ button does not appear anymore, it just reloads the event and changes the button to ‘view event cart’.
I added this to my custom functions to change some text, but removed it and found it didn’t make a difference to the above issue.
function tw_ee_return_cart() {
return 'Cart';
}
add_filter( 'FHEE__EED_Multi_Event_Registration__set_definitions__event_cart_name', 'tw_ee_return_cart' );
// also filter the empty cart message:
function my_ee_cart_is_empty() {
return 'The cart is empty';
}
add_filter( 'FHEE__EE_Event_Cart_Line_Item_Display_Strategy___empty_msg_row', 'my_ee_cart_is_empty' );
/*Add to event cart text change*/
function ee_my_custom_return_to_events() {
return 'Add to cart';
}
add_filter( 'FHEE__EED_Multi_Event_Registration__return_to_events_list_btn_txt', 'ee_my_custom_return_to_events' );
I checked the source of the page you linked to and it appears that the Autoptimize plugin is causing some JavaScript errors. If you temporarily deactivate Autopitmize does the Pop-up begin working again?
The support post ‘Pop-up for next action after adding to cart not working’ 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.