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) »
  • Multiple participants for one registration fee, vs. Additional Participants
Pages: [1]

Author Topic: Multiple participants for one registration fee, vs. Additional Participants  (Read 1657 times)

choster

  • I’m new here
  • *
  • Posts: 29
  • Karma: 2
    • Lattice Group
  • CiviCRM version: 4.3,4.4,4.5
  • CMS version: Drupal 7
  • MySQL version: 5.5.39
  • PHP version: 5.5.15
Multiple participants for one registration fee, vs. Additional Participants
October 21, 2009, 08:49:40 am
Our organization holds many events with separate registration categories for multiples. For example, annual dinner tickets might be offered as
  • $50 per individual
  • $90 per couple
  • $400 per table of 10
Although I would think such arrangements are common, for things like couples admission or family memberships, I've not been able to find documentation on how to accomplish this in CiviCRM.

Using the "Register Additional Participants" feature does not offer a way to attach a participant's registration to the fee paid by another, so after buying one $80 "couple" ticket, registering an additional person requires selecting one of the fee levels again. We could create a $0 "guest of" level, but there would be no mechanism to prevent 3 people from registering as a "couple." Where could we insert custom code to do validation?

Or instead of using the built-in multiple registration system, we could use a custom profile to collect names of guest participants. But then participation would not be recorded for those guests in their CiviCRM record, and inventory control would go out the window. Or is there a way to look up references?

FTR we are running CiviCRM 3.0.1 with Drupal 6.14.
« Last Edit: October 21, 2009, 08:56:41 am by choster »

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Multiple participants for one registration fee, vs. Additional Participants
October 21, 2009, 10:47:50 am

Here's one potential way for doing this:

1. Add an amount $0 - additional participant fee

2. Implement the hook_civicrm_buildAmount

* For the main Registration page, unset the additional participant fee
* Customize the main page template and include javascript that sets the Additional Participant field to be 1 if couple and 9 if table. Freeze this field so a user cannot change it
* For the Additional Participant page, unset the first three fees. Also set the $0 fee to be the default and freeze / hide that field if possible (using the QF function hidden)

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

SarahG (FountainTribe)

  • Ask me questions
  • ****
  • Posts: 782
  • Karma: 29
  • CiviCRM version: 4.4.7
  • CMS version: Drupal 6, Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.3
Re: Multiple participants for one registration fee, vs. Additional Participants
October 22, 2009, 09:03:23 am
I have the same requirement as choster. Using the approach you suggest, how would I know to seat all 10 people together when 1 person buys a table and provides the names of his/her guests?


Did I help you? Please donate to the Civi-Make-It-Happen campaign  CiviCRM for mobile devices! 

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Multiple participants for one registration fee, vs. Additional Participants
October 22, 2009, 10:07:43 am

civievent does not do table seating :) U'll need to do a custom report to extract the who registered whom from the database. If you do so, please share your report with the community

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

SarahG (FountainTribe)

  • Ask me questions
  • ****
  • Posts: 782
  • Karma: 29
  • CiviCRM version: 4.4.7
  • CMS version: Drupal 6, Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.3
Re: Multiple participants for one registration fee, vs. Additional Participants
October 23, 2009, 12:18:58 pm
Another approach I thought about is treating this as a quantity discount on the event fee. ( If I register 2 people, I get a better price per person than if I come alone. If I register 10 people, I get an even better price. )

I was thinking of extending the idea of discounts discussed at:   http://civicrm.org/node/566.    Is the table "civicrm_discount" for offering discounts? It is empty in my version 3.0.1 environment.

In many ways, event pricing requirements very closely resemble a shopping cart used for selling tickets.





« Last Edit: October 23, 2009, 01:31:06 pm by sgladstone »
Did I help you? Please donate to the Civi-Make-It-Happen campaign  CiviCRM for mobile devices! 

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Multiple participants for one registration fee, vs. Additional Participants
October 23, 2009, 02:38:38 pm

civicrm_discount is used for early bird discounts in event registration

if you do use it for your needs, ensure that the entity_table has a different unique prefix (i.e. not civicrm_)


lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Multiple participants for one registration fee, vs. Additional Participants

This forum was archived on 2017-11-26.