Is it possible to customise the register button from the calendar widget to associate e.g. the Category A event in the calendar widget, with Membership Level A. So when a user is not logged in, they will be forced to register, and then once logged in they will continue to the correct Category A Event associated from the calendar widget, Category B event, C, etc which are representing different courses?
I’m currently setting up different courses with different membership levels to match the appropriate course, the problem is getting the calendar widget to follow the same registration path.
I assume you have WP User Integration active? That will resolve the logged out need to register issue.
Regarding the rest, I think it could be done, but you would have to modify the /wp-content/plugins/espresso-calendar/espresso-calendar.php file, and there are no filters or pluggable functions, so updates will remove the changes.
My thoughts is that in that file you could filter the $registration_url based on user role/capability.
The hardest part would be determining which event to redirect them to. I think you would need to query via category, but you may also need to use the Custom Meta fields to store either the URLs for the associated events or something like that.
We’ve decided to keep it simple for the time being with 1 membership, which is an easier process flow.
Thanks.
Viewing 2 reply threads
The support post ‘Custom calendar widget register button with membership levels – Wishlist Member’ 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.