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) »
  • Pricing for multiple event registrations
Pages: [1]

Author Topic: Pricing for multiple event registrations  (Read 930 times)

Upperholme

  • Administrator
  • Ask me questions
  • *****
  • Posts: 568
  • Karma: 8
    • MC3
  • CiviCRM version: 4.x
  • CMS version: Drupal 6.x/7.x, Wordpress, Joomla
Pricing for multiple event registrations
January 14, 2011, 09:46:49 am
I'm setting up a new event and want to offer pricing of the form: 120 for the first participant, 90 for each additional participant registered at the same time. Trying to work out how to set this up effectively. A price set? If so, what's the approach?

Thanks
Graham
Graham Mitchell
http://mc3.coop

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Pricing for multiple event registrations
January 14, 2011, 10:26:51 am
Can you update your forum profile with CiviCRM version, CMS etc.

If you are using CiviCRM 3.3.2 you should be able to achieve this using hooks. ( buildAmount hook )

Check http://wiki.civicrm.org/confluence/display/CRMDOC33/CiviCRM+hook+specification#CiviCRMhookspecification-hookcivicrmbuildAmount

Hth
Kurund
Found this reply helpful? Support CiviCRM

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Pricing for multiple event registrations
April 26, 2012, 05:58:42 pm
graham - did you get this working via the hook? care to share?
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

Upperholme

  • Administrator
  • Ask me questions
  • *****
  • Posts: 568
  • Karma: 8
    • MC3
  • CiviCRM version: 4.x
  • CMS version: Drupal 6.x/7.x, Wordpress, Joomla
Re: Pricing for multiple event registrations
April 27, 2012, 01:45:40 am
Hi Pete

It's a while ago so I'm not exactly sure what happened on this, but in any event we did not need to pursue this pricing thing. I would be keen to learn more though if anyone has done something on this - it would be a handy thing to have as i would guess that it's not a particularly uncommon requirement.

Does the civicrm_event discount module offer something on this? (Drupal only of course).

Best wishes
Graham
Graham Mitchell
http://mc3.coop

HarryJ

  • I’m new here
  • *
  • Posts: 29
  • Karma: 1
  • CiviCRM version: 4.4.9
  • CMS version: Joomla 2.5.27
  • MySQL version: 5.1.70
  • PHP version: 5.3.16
Re: Pricing for multiple event registrations
April 27, 2012, 08:48:48 am
Hi--

We did something similar without using hooks. We used PriceSets for our registration fees. We setup a radio control for our registration with two items: One for the first participant and another for additional participants. Make sure the radio control is required but that neither is the default. Then we created two custom templates by modifying the ones used for online registration: Register.tpl and AdditionalParticipant.tpl. On the Register.tpl we hide the 'additional participant' item and on the AdditionalParticipant.tpl we hide the 'first participant' item. The steps to hide controls are outlined at:

http://civicrm.org/blogs/hershel/how-customize-civicrm-pages-jquery

http://forum.civicrm.org/index.php/topic,20446.msg85482.html#msg85482

http://forum.civicrm.org/index.php/topic,10437.msg44815.html#msg44815

Ideally, we would like to make sure the visible radio option is selected. To select the visible radio use:

$("#CIVICRM_QFID_999_9").prop("checked",true);

in each template where '999_9' is unique 'id' of the radio button of the item you wish to be selected.

--H



petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Pricing for multiple event registrations
April 27, 2012, 04:54:16 pm
Thanks for your responses - our urgent surgery was to just remove the 'additional participant' functionality and add a custom First, Last, Email as a new profile. Yes it means those aren't created as contacts and that they don't 'count' towards max participants so should look for a more substantive solution such as that offered by HarryJ
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Pricing for multiple event registrations

This forum was archived on 2017-11-26.