Problem/Motivation
Client has requested that reminder emails should no longer be sent to registrants on the waitlist. Was there a compelling reason to include waitlisted registrants in these reminder emails in the first place?
Our client had one waitlisted registrant who received the reminder and assumed because the reminder was sent, they were allowed to go to the event. The event was still full, though, so they were turned away. Since then, the client is questioning why the reminders are sent to waitlisted registrants.
During recurring_events_reminders_cron registrants are currently queued to receive the reminders via $registrants = $registration_creation_service->retrieveRegisteredParties(); where default is to get all waitlisted and non-waitlisted registrants.
Could use a setting under Registrant Settings to give the option to site admins to include waitlist or not and modify recurring_events_reminders_cron to check this setting when gathering registrants.
Issue fork recurring_events-3586386
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
chrisla commentedMR adds new configuration setting if Registration Reminders submodule is enabled.
New config adds checkboxes for Waitlisted and Non-waitlisted registrants so that site admins can choose which groups receive reminders.
By default, both checkboxes are checked to mimic the current reminder system. A module update should be run to set this as a default. The checkboxes are then available from /admin/structure/events/registrant/settings
The new config is saved into the Recurring Events Registration module's config and removed if Reminders module is uninstalled.
The config values are used during recurring_events_reminders_cron() when it checks which registrants should receive reminders.
I hope this is useful. Our client is happy that waitlisted registrants no longer receive reminders.
Comment #4
chrisla commentedFix for 3.0 branch was made here, with no option to send or not send, but just hard-coding that reminders are never sent to waitlisted registrants -- https://www.drupal.org/project/recurring_events/issues/3535470