Answers.Body: <p>The description field that is rendered in the receipt is part of an option value that is used in a field in of a price set (See screenshot). But I wonder if that is useful for your what you want to do?
  <a href="https://i.sstatic.net/ebiWR.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/ebiWR.jpg" alt="enter image description here"></a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-03-20T11:51:07.263Z
Answers.Text: Thanks Kainuk - CiviCooP, I see that for the select options but the field in question is a Text field so I don't have an "Edit Price Option" link for that.
Answers.UserDisplayName: Pennopoly
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-03-19T21:58:54.167Z
Answers.LastActivityDate: 2018-03-19T21:58:54.167Z
Answers.UserDisplayName: Kainuk - CiviCooP
Body: <p>Hoping for some assistance for some issues with the invoice and receipt for the online contributions. </p>
  
  <p>Even though the script for the line item description is present in the template (below), no description is printing in HTML, text, or PDF format of the receipts.</p>
  
  <p>In this case the main concern is charitable items that include the charity number in the description. I haven't worked much with the mail templates but nothing glaringly wrong is jumping out at me.</p>
  
  <p>This is from "Contributions - Receipt (on-line)". I can post the whole thing if needed.</p>
  
  <p>Also, on the invoice the below script for the Description is pulling something completely different from what I input at Administer > CiviContribute > Financial Accounts. That's the only place I've been able to find to set the description. I can't seem to find where the text that is showing has been input anywhere. If someone can give me a hint here it would be greatly appreciated.</p>
  
  <p>Thanks for any assistance,
  Pennopoly</p>
  
  <pre><code>The following has had HTML stripped out
  
    {if $lineItem and $priceSetID and !$is_quick_config}
  
     {foreach from=$lineItem item=value key=priceset}
  
         {foreach from=$value item=line}
  
           {if $line.html_type eq 'Text'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} 
                {if $line.description}
                    &lt;div&gt;{$line.description|truncate:30:"..."}
                    &lt;/div&gt;
                {/if}
  </code></pre>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-03-20T14:04:10.350Z
Comments.Text: Can you post an example of your receipt, and include what you would like for it to say? It might help bring clarity to what you are asking.
Comments.UserDisplayName: Iowa Boy
Tags: <civicontribute><receipts><invoice><line-items><printing>
Title: Receipt template $line.description not showing
ThreadText: # Receipt template $line.description not showing
  
  (Asked by: username_0 on 2018-03-19)
  
  Hoping for some assistance for some issues with the invoice and receipt for the online contributions. 
  Even though the script for the line item description is present in the template (below), no description is printing in HTML, text, or PDF format of the receipts.
  In this case the main concern is charitable items that include the charity number in the description. I haven't worked much with the mail templates but nothing glaringly wrong is jumping out at me.
  This is from "Contributions - Receipt (on-line)". I can post the whole thing if needed.
  Also, on the invoice the below script for the Description is pulling something completely different from what I input at Administer > CiviContribute > Financial Accounts. That's the only place I've been able to find to set the description. I can't seem to find where the text that is showing has been input anywhere. If someone can give me a hint here it would be greatly appreciated.
  Thanks for any assistance,
  username_0
  The following has had HTML stripped out
  
    {if $lineItem and $priceSetID and !$is_quick_config}
  
     {foreach from=$lineItem item=value key=priceset}
  
         {foreach from=$value item=line}
  
           {if $line.html_type eq 'Text'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} 
                {if $line.description}
                    {$line.description|truncate:30:"..."}
                    
                {/if}
  
  **Tags:** civicontribute, receipts, invoice, line-items, printing
  
  > **Comments:**
  > **username_1**: Can you post an example of your receipt, and include what you would like for it to say? It might help bring clarity to what you are asking.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2018-03-19. Score: 0
  
  The description field that is rendered in the receipt is part of an option value that is used in a field in of a price set (See screenshot). But I wonder if that is useful for your what you want to do?
  [![enter image description here](https://i.sstatic.net/ebiWR.jpg)](https://i.sstatic.net/ebiWR.jpg)
  
  > **Comments:**
  > **username_0**: Thanks username_2, I see that for the select options but the field in question is a Text field so I don't have an "Edit Price Option" link for that.  
  
  ---
  
  