After, adding items to the cart with MER (multi-event registration), the pop-up window doesn’t display in the correct position within the browser window. How do I fix this?
I do have this code in my functions.php file, could any of it be effecting the pop-up window? Doesn’t seem likely, but I don’t know.
//Change ‘EVENT CART’ and related Cart pages, pop ups and messages
//Change ‘Event Cart’ to Cart
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’ );
It looks like a conflict with Beaver Builder where the cart modal isn’t being injected into its normal location on the page (the top of the page) and instead it’s being injected into the bottom of the page.
I’ll see if I can find a workaround so Beaver Builder will allow the cart modal to be at the top of the page.
Okay, I added the provided code to the child theme’s function.php file. I tested in Safari, Firefox and Chrome and the pop-up window works. Thanks.
Viewing 4 reply threads
The support post ‘Add to cart pop-up window in wrong location. How to fix?’ 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.