Support

Home Forums Event Espresso Premium Filters not working for Multi Event Modal cart pop-up

Filters not working for Multi Event Modal cart pop-up

Posted: March 18, 2016 at 2:03 am

Viewing 2 reply threads


Diane Kuhler

March 18, 2016 at 2:03 am

Instead of a centralized events page I am using pages that group the tickets. I am using ESPRESSO_TICKET_SELECTOR short codes to list ticket groups. One issue I am having is I want to change the label and the url used for the return to events button in the event cart page and the modal popup cart.

I have this code in my functions.php

function ee_mer_change_event_list_url(){
  return isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : ''; 
} 
add_filter( 'FHEE__EED_Multi_Event_Registration__set_definitions__events_list_url', 'ee_mer_change_event_list_url' );

function ee_mer_change_event_list_btn_txt(){
  return "Continue Shopping"; 
} 
add_filter( 'FHEE__EED_Multi_Event_Registration__return_to_events_list_btn_txt', 'ee_mer_change_event_list_btn_txt' );

The filters are working on the multi event cart page, but not for the modal popup cart that opens when you initially add the item to the cart. Any ideas?

You can see it happen on this page:
https://desertcommunityrobotics.com/camps-13-to-17-years/

Thanks
Diane


Tony

  • Support Staff

March 18, 2016 at 8:53 am

Hi there,

If you temporarily switch to a default theme (or just preview it within the admin) and retest does this work?

I’ve added you code to a test site using twentyfourteen and it worked without a problem – http://take.ms/7Z7nu

So I’m just wondering if the theme is doing something strange here.


Diane Kuhler

March 18, 2016 at 10:37 am

I tried another theme in preview mode and it still did not work. I will copy the live site over to a test site tonight and look into theme and plugin conflicts. I will let you know

Thanks

Viewing 2 reply threads

The support post ‘Filters not working for Multi Event Modal cart pop-up’ 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