Support

Home Forums Event Espresso Premium EE4 Multi-Event Registration Addon – Return to Event List of Category

EE4 Multi-Event Registration Addon – Return to Event List of Category

Posted: October 9, 2020 at 1:00 am

Viewing 6 reply threads


JacqK

October 9, 2020 at 1:00 am

Hello
We have been working on implementing EE 4.10.8.p and are looking to use the multi-event registration addon. After you click “Add to Event Cart” the addon gives a visitor the option to ‘Proceed to Registration” or “Return to Events List”. If the “Return to Events List” is clicked, is it possible to configure it so the visitor is returned to events of the same category as the one the added to the cart for (rather than being sent to a list of all the events)?

Regards, Joe


Tony

  • Support Staff

October 9, 2020 at 3:35 am

Hi Joe,

Yes, it is possible.

Here is an example of checking for specific terms on the event passed to the cart and redirecting the user back to specific pages based on the term:

https://gist.github.com/Pebblo/14acf044ca0a4aef2cc417be742f7400

Is that what you are looking for?


JacqK

October 24, 2020 at 7:37 pm

This reply has been marked as private.


Tony

  • Support Staff

October 26, 2020 at 7:58 am

Hi Joe,

Just to clarify something here, your opening post refers to EE4 (EE 4.10.8.p) and the wording of your question uses phrases that would be in EE4.

However, the site you linked me to uses EE3?

To answer your question you can use a snippet like this:

https://gist.github.com/joshfeck/e51ac13a3d9fd345ad40

Just change line 2 to be the URL you want to use for that button and add that snippet to a custom functions plugin. If you don’t already have one we have some documentation on creating one here:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/


JacqK

October 26, 2020 at 2:22 pm

Many thanks for that Tony. Apologies, the link I gave was to our existing site (which uses EE3) – we currently have EE4 in our development site and will be transitioning to EE4 shortly.
Regards, Joe


Tony

  • Support Staff

October 27, 2020 at 4:40 am

Ahh ok, no problem. I was just checking as none of the EE4 snippets will work for EE3.

Did you manage to get the above snippet working?


JacqK

November 6, 2020 at 3:08 pm

This reply has been marked as private.
Viewing 6 reply threads

The support post ‘EE4 Multi-Event Registration Addon – Return to Event List of Category’ 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