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 CiviEvent (Moderator: Yashodha Chaku) »
  • Query: Include number of event registrations with donation ?
Pages: [1]

Author Topic: Query: Include number of event registrations with donation ?  (Read 455 times)

caneyfork

  • Guest
Query: Include number of event registrations with donation ?
July 03, 2012, 09:06:40 am
I have an event where we would like to include a number of event registrations to sponsors who donate at a certain level.  We would like to include either 16, 12 or 8 registrations to the event with "sponsorship" donations.

Does anyone know how to accomplish this or point me to a resource to figure this out?

Thanks very much!

« Last Edit: July 03, 2012, 09:41:09 am by caneyfork »

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Query: Include number of event registrations with donation ?
July 05, 2012, 03:05:11 pm
I did something similar in Drupal on an older version of CiviCRM. I don't think there is a simple way to do it.

What I did then, IIRC, was to setup a price set with one item being zero. Then if a person made the required donation, his "additional participants" pages had a bit of JS which would check off the zero value price set option and hide the whole price set.

For users who did not make that required donation, it would check off the regular value and the hide the price set.

That is one approach to doing it.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Query: Include number of event registrations with donation ?

This forum was archived on 2017-11-26.