When inside the shopping cart the return to events goes off to an archive page which is not nice for the user. HERE
I have built a custom events list here and this is where I want this link to go to how do I set this or how do I extend the code and add it into my custom plugin.
This snip of code was exactly what i was looking for but as I am running a multi-site to handle multi-currency I added in the switch component, so it would redirect depending on get_site_url
/* Filter to change the URL for the "Back to List" button from the Multi Event Registration cart. */
function ee_mer_change_event_list_url(){
switch (get_site_url()) {
case 'https://buscircle.com':
return 'https://buscircle.com/briefings-australia/';
break;
case "https://nz.buscircle.com":
return 'https://nz.buscircle.com/';
break;
case 'https://sg.buscircle.com':
return 'https://sg.buscircle.com/';
break;
}
}
add_filter( 'FHEE__EED_Multi_Event_Registration__set_definitions__events_list_url', 'ee_mer_change_event_list_url' );
The support post ‘Change cart redirect – return to events list – URL’ 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.