Answers.Body: <p>While a cause is not known, a quick fix for the &quot;Memberships - Receipt (on-line)&quot; template:</p>
  <pre><code> {foreach from=$honoreeProfile item=value key=label}
   &lt;!--  empty values check --&gt;
    {if $value != &quot;&quot;}
      &lt;tr&gt;
        &lt;td {$labelStyle}&gt;
          {$label}
        &lt;/td&gt;
        &lt;td {$valueStyle}&gt;
          {$value}
        &lt;/td&gt;
      &lt;/tr&gt;
     {/if}
    {/foreach}
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-09-30T21:12:26.587Z
Answers.LastActivityDate: 2024-09-30T21:12:26.587Z
Answers.UserDisplayName: yurg
Body: <p><em><strong>CiviCRM 5.74.4, Wordpress.</strong></em></p>
  <p>The default Honoree profile contains only 4 fields: (First/Last name, email).
  This works well for Contribution receipts. However, Membership Receipts outputs the Individual Profile fields  <a href="https://i.sstatic.net/KxJtZAGy.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/KxJtZAGy.png" alt="Honoree profile section of Membership receipt" /></a></p>
  <p>At templates level, both receipts have the same code ( below ) so this must've been something else. Please advise.</p>
  <pre><code>{foreach from=$honoreeProfile item=value key=label}
  </code></pre>
  
Tags: <civimember><message-templates><receipts><honoree>
Title: Honoree Profile not being respected, a Membership receipt contains Individual Profile fields
ThreadText: # Honoree Profile not being respected, a Membership receipt contains Individual Profile fields
  
  (Asked by: username_0 on 2024-09-06)
  
  CiviCRM 5.74.4, Wordpress.
  The default Honoree profile contains only 4 fields: (First/Last name, email).
  This works well for Contribution receipts. However, Membership Receipts outputs the Individual Profile fields  
  At templates level, both receipts have the same code ( below ) so this must've been something else. Please advise.
  {foreach from=$honoreeProfile item=value key=label}
  
  **Tags:** civimember, message-templates, receipts, honoree
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2024-09-30. Score: 1 | Accepted answer
  
  While a cause is not known, a quick fix for the "Memberships - Receipt (on-line)" template:
   {foreach from=$honoreeProfile item=value key=label}
   
    {if $value != ""}
      
        
          {$label}
        
        
          {$value}
        
      
     {/if}
    {/foreach}
  
  
  ---
  
  