Answers.Body: <p>It's a slightly different question but you should be able to use the same technique as described here, i.e. use the api in your message template to look up the info:
  <a href="https://civicrm.stackexchange.com/a/29232/181">https://civicrm.stackexchange.com/a/29232/181</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-06-26T21:12:30.533Z
Answers.LastActivityDate: 2019-06-26T21:12:30.533Z
Answers.UserDisplayName: Demerit
Body: <p>I have setup an event on a webform with 2 contacts. 
  Parent: Contact1 - 
  Child: contact2</p>
  
  <ul>
  <li>Contact1 is there only to create a relationship with CONATCT2 and not a participant of the event.</li>
  <li>Contact2 is the actual participant. </li>
  </ul>
  
  <p>When the receipt is triggered after successful payment, obviously Details of Contact1 does not show in the receipt because he is not a participant.</p>
  
  <p>How can I include the details of Contact1 in the receipt template please?
  Can anyone help please?
  Thanks</p>
  
Tags: <webform-civicrm><email><receipts>
Title: How can I include a non-participant's details in the receipts?
ThreadText: # How can I include a non-participant's details in the receipts?
  
  (Asked by: username_0 on 2019-06-26)
  
  I have setup an event on a webform with 2 contacts.
  Parent: Contact1 -
  Child: contact2
  
  * Contact1 is there only to create a relationship with CONATCT2 and not a participant of the event.
  * Contact2 is the actual participant.
  
  When the receipt is triggered after successful payment, obviously Details of Contact1 does not show in the receipt because he is not a participant.
  
  How can I include the details of Contact1 in the receipt template please?
  Can anyone help please?
  Thanks
  
  **Tags:** webform-civicrm, email, receipts
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2019-06-26. Score: 3 | Accepted answer
  
  It's a slightly different question but you should be able to use the same technique as described here, i.e. use the api in your message template to look up the info:
  <https://civicrm.stackexchange.com/a/29232/181>
  
  
  ---
  
  