Answers.Body: <p>I tend to send two receipts out for this -&gt;</p>
  <ol>
  <li><p>one confirmation email triggered from webform: you have all webform submitted values available as tokens to compose an very email with perhaps including maps/directions, speaker bio, anything really.</p>
  </li>
  <li><p>one (boring) transaction receipt email triggered from civicrm: it only serves as a payment confirmation receipt.</p>
  </li>
  </ol>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-05-19T13:13:35.143Z
Answers.Text: Thanks Karin - Is your approach because its not possible to add contact2's booking info to the template, or because you can do nicer comms through webform? 
  And do you edit the default Registration Confirmation and Receipt template at all?
Answers.UserDisplayName: Davy Ivins
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-05-19T14:44:01.663Z
Answers.Text: Yes, you can edit the default template in CiviCRM but it is used for all events so you need to “if smarty” a lot and it’s raw HTML. I really like the nicer comms - get the WYSIWYG editor for webform as well.
Answers.UserDisplayName: KarinG - Semper IT
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-05-19T12:42:20.093Z
Answers.LastActivityDate: 2022-05-19T12:42:20.093Z
Answers.UserDisplayName: KarinG - Semper IT
Body: <p>I have set up a civievent with a webform_civicrm booking form, where the employer is contact1 and the individual delegate is contact 2.</p>
  <p>The main event uses the event participation field, and additional options are set up with lineitem fields.</p>
  <p>is there a way to add contact2's participation and lineitem info into the Registration Confirmation and Receipt template?</p>
  <p>(Site uses pp to date D7 and Civi)</p>
  
Tags: <civievent><webform-civicrm><drupal-7>
Title: With webform_civicrm, how to add contact2's lineitem info into Registration Confirmation and Receipt template
ThreadText: # With webform_civicrm, how to add contact2's lineitem info into Registration Confirmation and Receipt template
  
  (Asked by: username_0 on 2022-05-19)
  
  I have set up a civievent with a webform\_civicrm booking form, where the employer is contact1 and the individual delegate is contact 2.
  
  The main event uses the event participation field, and additional options are set up with lineitem fields.
  
  is there a way to add contact2's participation and lineitem info into the Registration Confirmation and Receipt template?
  
  (Site uses pp to date D7 and Civi)
  
  **Tags:** civievent, webform-civicrm, drupal-7
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2022-05-19. Score: 1
  
  I tend to send two receipts out for this ->
  
  1. one confirmation email triggered from webform: you have all webform submitted values available as tokens to compose an very email with perhaps including maps/directions, speaker bio, anything really.
  2. one (boring) transaction receipt email triggered from civicrm: it only serves as a payment confirmation receipt.
  
  > **Comments:**
  > **username_0**: Thanks Karin - Is your approach because its not possible to add contact2's booking info to the template, or because you can do nicer comms through webform?  And do you edit the default Registration Confirmation and Receipt template at all?  
  > **username_1**: Yes, you can edit the default template in CiviCRM but it is used for all events so you need to “if smarty” a lot and it’s raw HTML. I really like the nicer comms - get the WYSIWYG editor for webform as well.  
  
  ---
  
  