Support

Home Forums Event Espresso Premium Have two calendars. After adding to shopping cart, returns to wrong link

Have two calendars. After adding to shopping cart, returns to wrong link

Posted: November 20, 2018 at 11:18 am


firstunitarianportland

November 20, 2018 at 11:18 am

Hi Again,

Hope it is OK that I add links. Our class registration is on a page with the Events Table View Template. Our calendar of events is listed on a separate page (not all require registration).

If you go to this page:
https://www.firstunitarianportland.org/registration/

1) Click on “Women’s Retreat” and put a ticket into the cart
2) Then it will say, “1 item was successfully added to this event”
3) Then click on “Return to Event List”

The problem is it takes users back to the wrong list. We need them to go back to the page with the Events Table View Template: https://www.firstunitarianportland.org/registration/

How do I fix this? Thanks!!!!


Josh

  • Support Staff

November 20, 2018 at 11:39 am

Hi,

You can change what “Return to Event List” links to by adding some custom code to your site. First, you’ll need a place to put the code. So you’ll follow this guide to create your own little plugin:
http://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

Then, you’ll add this code to your plugin:

function ee_mer_change_event_list_url(){
  return 'https://www.firstunitarianportland.org/registration/';
}

add_filter(
'FHEE__EED_Multi_Event_Registration__set_definitions__events_list_url',
'ee_mer_change_event_list_url'
);

The support post ‘Have two calendars. After adding to shopping cart, returns to wrong link’ 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.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Josh 6 months ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!