Support

Home Forums Event Espresso Premium Is there a way to add user to follow on events from initial registration?

Is there a way to add user to follow on events from initial registration?

Posted: December 3, 2015 at 7:17 pm


Lance Gundersen

December 3, 2015 at 7:17 pm

Version. EE3 Reoccurring event

The scenario is as follows: User signs up for a class that is a six class series but is on an ongoing basis (i.e. Every Weds this class is held).

So while this class is ongoing if a user signs up for class on the first Weds they should automatically be booked for the follow on 5 classes for a total of six any direction pointing to accomplish this?

Thanks in advance!


Josh

  • Support Staff

December 4, 2015 at 6:08 am

Hi Lance,

I think they’d still need to opt in to all of the classes if they’re set up as separate events. Which you can allow for by using the Multi Event Registration add-on. You can even set up the add to cart shortcode so they click once to add all 6 classes to the cart.

Here’s an example of the add to cart shortcode:

[ESPRESSO_CART_LINK event_id=”1-2-3-4-5-6″ anchor=”Register for all 6 classes”]


Lance Gundersen

December 4, 2015 at 6:18 am

Josh,

Ok, yes I see how this could work. Do you know if there is a way to automate the follow on classes or will I have to manually put all those in… That could be a PITA!

What it would need to do is query for the next 5 classes and insert into the event_id=””


Josh

  • Support Staff

December 4, 2015 at 6:41 am

Yeah that could be done with some PHP programming. I can suggest when you or your developer writes the query, to pull all the event ID’s that have the same recurrence_id in the _events_detail table.

You can add the PHP code right into the registration_page_display.php template or use one of the action hooks in the template and do a callback to your custom function to add the add to cart button onto the registration page.

The support post ‘Is there a way to add user to follow on events from initial registration?’ 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