CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Customizing receipt for Add Contribution
Pages: [1]

Author Topic: Customizing receipt for Add Contribution  (Read 466 times)

sonicthoughts

  • Ask me questions
  • ****
  • Posts: 498
  • Karma: 10
Customizing receipt for Add Contribution
July 27, 2011, 02:12:20 pm
We need to customize an email for offline contributions made via "add Contribution" on a contact.  There is a system message template for offline contribution which we can modify but have 2 questions:
1. Is the system message appended to the contribution page messages?
2. Can we specify a different receipt message depending on the type of contribution (ie. changing system message is for all types)

thanks,
S.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Customizing receipt for Add Contribution
July 27, 2011, 05:19:14 pm
1. No it is not appended - the msg template contains the content.
2. Pretty sure you can add some Smarty logic in the message template to do this, something like:

Code: [Select]
{if $formValues.contributionType_name EQ 'Donation'}
  Thanks for your donation
{else}
  Thanks for your blah blah
{/if}

http://www.smarty.net/docsv2/en/
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Customizing receipt for Add Contribution

This forum was archived on 2017-11-26.