Answers.Body: <p>This alert is because you have a custom implementation of the System message template <code>event_online_receipt</code>.</p>
  <p>If there are minimal custom changes to your template, such as a header addition or image logo, it would be advisable to revert the template to its default state and then reapply your modifications on top of the updated HTML.</p>
  <p>If there are complex custom additions to your template, pretty sure for the first, a simple replacement with <code>{participant.id}</code> is required (including brackets).</p>
  <p>Eg, if you have</p>
  <pre><code>{if $isPrimary || $participant.id === $currentParticipant.id}
  </code></pre>
  <p>replace it with</p>
  <pre><code>{if $isPrimary || {participant.id} === $currentParticipant.id}
  </code></pre>
  <p>Re <code>$dataArray</code>, its a bit complicated and not just a replacement with <code>{found within $taxBreakDown}</code>. I think best would be to compare your template with the default HTML and then choose, which part is required, can be omitted, etc.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-03-05T12:22:06.817Z
Answers.LastActivityDate: 2024-03-05T12:22:06.817Z
Answers.UserDisplayName: jitendra - fuzion
Body: <p>I have the system message below after updating to civicrm 5.70.0 on Wordpress 6.4.3. My question is for the 1st one: Do I just replace <code>$participant.id</code> (as I find it without the curly brackets) with {participant.id} or just participant.id?
  For the 2nd one: in the if and foreach below do i replace $dataArray with {found within $taxBreakDown} (with the curly brackets) ?</p>
  <p>{foreach from=$dataArray item=value key=priceset}</p>
  <p>{if !empty($dataArray)}</p>
  <hr />
  <p>You are using tokens that have been removed or deprecated.</p>
  <p>Please review your event_online_receipt message template and remove references to the token {<code>$participant.id</code>} as it has been replaced by {participant.id}</p>
  <p>Please review your event_online_receipt message template and remove references to the token {$dataArray} as it has been replaced by {found within $taxBreakDown}</p>
  
Tags: <wordpress>
Title: Outdated tokens in use system message
ThreadText: # Outdated tokens in use system message
  
  (Asked by: username_0 on 2024-02-28)
  
  I have the system message below after updating to civicrm 5.70.0 on Wordpress 6.4.3. My question is for the 1st one: Do I just replace `$participant.id` (as I find it without the curly brackets) with {participant.id} or just participant.id?
  For the 2nd one: in the if and foreach below do i replace $dataArray with {found within $taxBreakDown} (with the curly brackets) ?
  
  {foreach from=$dataArray item=value key=priceset}
  
  {if !empty($dataArray)}
  
  ---
  
  You are using tokens that have been removed or deprecated.
  
  Please review your event\_online\_receipt message template and remove references to the token {`$participant.id`} as it has been replaced by {participant.id}
  
  Please review your event\_online\_receipt message template and remove references to the token {$dataArray} as it has been replaced by {found within $taxBreakDown}
  
  **Tags:** wordpress
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2024-03-05. Score: 2 | Accepted answer
  
  This alert is because you have a custom implementation of the System message template event_online_receipt.
  If there are minimal custom changes to your template, such as a header addition or image logo, it would be advisable to revert the template to its default state and then reapply your modifications on top of the updated HTML.
  If there are complex custom additions to your template, pretty sure for the first, a simple replacement with {participant.id} is required (including brackets).
  Eg, if you have
  {if $isPrimary || $participant.id === $currentParticipant.id}
  
  replace it with
  {if $isPrimary || {participant.id} === $currentParticipant.id}
  
  Re $dataArray, its a bit complicated and not just a replacement with {found within $taxBreakDown}. I think best would be to compare your template with the default HTML and then choose, which part is required, can be omitted, etc.
  
  
  ---
  
  