Answers.Body: <p>In your question you state "We're not using Price Sets." In that case you must have multiple contribution pages, one for each financial type. </p>
  
  <p>You can edit the online contribution receipt to include something like:</p>
  
  <pre><code>{if $contributionPageId eq "4"}
       &lt;tr&gt;
       &lt;td colspan="2" {$valueStyle}&gt;
        {ts}Donation to General Fund{/ts}
       &lt;/td&gt; 
         &lt;/tr&gt;
  {elseif $contributionPageId eq "3"}
       &lt;tr&gt;
       &lt;td colspan="2" {$valueStyle}&gt;
        {ts}Donation to Child Sponsorship Fund{/ts}
       &lt;/td&gt; 
         &lt;/tr&gt;
  ...
  </code></pre>
  
  <p>{/if}</p>
  
  <p>I would place it in the receipt table just under the "Payment Details" header.</p>
  
  <p>I realise it is a somewhat rudimentary solution, but "quick and dirty" is effective if you are struggling with tokens. </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-07-17T12:30:19.150Z
Answers.LastActivityDate: 2016-07-17T12:30:19.150Z
Answers.UserDisplayName: JoAnne
Body: <p>We would like to add the contribution Financial Type to the Contribution (On-line) receipt template, so we communicate clearly to our donors where their money has gone.  (Our Financial Types are named after certain funds: General Fund, Child Sponsorship Fund, Building Fund, etc.).  We're not using Price Sets.  We're on Civi 4.6 and Drupal 7.</p>
  
  <p>In the Contribution (Off-line) template, there is this section of the template code:</p>
  
  <pre><code>  &lt;tr&gt;
    &lt;td {$labelStyle}&gt;
     {ts}Financial Type{/ts}
    &lt;/td&gt;
    &lt;td {$valueStyle}&gt;
     {$formValues.contributionType_name}
    &lt;/td&gt;
    &lt;/tr&gt;
  </code></pre>
  
  <p>Because the "off-line" New Contribution screen specifically asks for which Financial Type the transaction is, the above code is pulling the Contribution Type into the receipt template from the input value in the form. I'm tracking with that.</p>
  
  <p>But for the Online contribution template, the Financial Type isn't being selected from the form itself. Rather the Financial Type is set on the Manage Contribution screen for each contribution page.  Financial Type isn't listed as a token in the template screen, so I tried the answer from <a href="https://civicrm.stackexchange.com/q/8905/105">Is there a token for contribution type?</a>, <code>{contribution.financial_type}</code>.  I'm afraid that didn't work.  I checked debugging with <code>&amp;smartyDebug=1</code>, but I couldn't find anything loaded in the contribution form that might work.</p>
  
  <p>How is the Financial Type being transmitted to the Online Contribution page? Any ideas for a token or option I'm not seeing?  </p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-07-09T23:31:41.817Z
Comments.Text: When you say you tried contribution.financial_type did you add in the hack suggested there (which isn't completely specified but I'm assuming means editing CRM_Core_SelectValues::contributionTokens())? Maybe that hack is needed to make it work.
Comments.UserDisplayName: Demerit
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-07-10T01:14:07.693Z
Comments.Text: Ah, Demerit, I'd hadn't yet. Thank you for saying something! I'll try it this week.
Comments.UserDisplayName: Allen Hutchison
Tags: <civicontribute><tokens><message-templates><receipts>
Title: Financial Type on Contributions - Receipt (on-line) template
ThreadText: # Financial Type on Contributions - Receipt (on-line) template
  
  (Asked by: username_0 on 2016-07-08)
  
  We would like to add the contribution Financial Type to the Contribution (On-line) receipt template, so we communicate clearly to our donors where their money has gone. (Our Financial Types are named after certain funds: General Fund, Child Sponsorship Fund, Building Fund, etc.). We're not using Price Sets. We're on Civi 4.6 and Drupal 7.
  
  In the Contribution (Off-line) template, there is this section of the template code:
  
  ```
    <tr>
    <td {$labelStyle}>
     {ts}Financial Type{/ts}
    </td>
    <td {$valueStyle}>
     {$formValues.contributionType_name}
    </td>
    </tr>
  
  ```
  
  Because the "off-line" New Contribution screen specifically asks for which Financial Type the transaction is, the above code is pulling the Contribution Type into the receipt template from the input value in the form. I'm tracking with that.
  
  But for the Online contribution template, the Financial Type isn't being selected from the form itself. Rather the Financial Type is set on the Manage Contribution screen for each contribution page. Financial Type isn't listed as a token in the template screen, so I tried the answer from [Is there a token for contribution type?](https://civicrm.stackexchange.com/q/8905/105), `{contribution.financial_type}`. I'm afraid that didn't work. I checked debugging with `&smartyDebug=1`, but I couldn't find anything loaded in the contribution form that might work.
  
  How is the Financial Type being transmitted to the Online Contribution page? Any ideas for a token or option I'm not seeing?
  
  **Tags:** civicontribute, tokens, message-templates, receipts
  
  > **Comments:**
  > **username_1**: When you say you tried contribution.financial_type did you add in the hack suggested there (which isn't completely specified but I'm assuming means editing CRM_Core_SelectValues::contributionTokens())? Maybe that hack is needed to make it work.  
  > **username_0**: Ah, username_1, I'd hadn't yet. Thank you for saying something! I'll try it this week.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2016-07-17. Score: 1
  
  In your question you state "We're not using Price Sets." In that case you must have multiple contribution pages, one for each financial type.
  
  You can edit the online contribution receipt to include something like:
  
  ```
  {if $contributionPageId eq "4"}
       <tr>
       <td colspan="2" {$valueStyle}>
        {ts}Donation to General Fund{/ts}
       </td> 
         </tr>
  {elseif $contributionPageId eq "3"}
       <tr>
       <td colspan="2" {$valueStyle}>
        {ts}Donation to Child Sponsorship Fund{/ts}
       </td> 
         </tr>
  ...
  
  ```
  
  {/if}
  
  I would place it in the receipt table just under the "Payment Details" header.
  
  I realise it is a somewhat rudimentary solution, but "quick and dirty" is effective if you are struggling with tokens.
  
  
  ---
  
  