Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-13890

Participant status is not being passed to message template for online event registration

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.4.2
    • Fix Version/s: 4.4.3
    • Component/s: None
    • Labels:
      None

      Description

      The message template for online event registration (Events - Registration Confirmation and Receipt (on-line)) has conditional logic for displaying the participant status (see below) based on the variable $participant_status being assigned to the template. This is NOT happening in 4.4 (although the $participant_status_id IS being assigned).

      Please add the $participant_status variable back to the variables being assigned to the message template (as it is a hassle / less desirable to fix the message template content). Not sure if this change needs to happen in CRM_Event_Form_Registration_Confirm::postProcess or CRM_Event_BAO_Event::sendMail ??

      ==== message template conditional =====

      Thank you for your participation. This letter is a confirmation that your registration has been received and your status has been updated to

      {if $participant_status}

      $participant_status

      {else}{if $isOnWaitlist}waitlisted{else}

      registered

      {/if}

      for the following:

      ===========

      — Original Issue Description ----------
      The email received says

      "Thank you for your participation. This letter is a confirmation that your registration has been received and your status has been updated to registered for the following:" despite the fact the registration is 'Pending - pay later' (or potentially pending payment failed but I'm not sure if that could be reached)

      This misleads people into thinking they are registered when they are not & it is difficult to customise as there is no way for civi admins to know what token to use ($event.participant_status doesn't work)

        Attachments

          Activity

            People

            • Assignee:
              dgg David Greenberg
              Reporter:
              eileen Eileen McNaughton
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: