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) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Same price level for multiple registrations. Help Please!
Pages: [1]

Author Topic: Same price level for multiple registrations. Help Please!  (Read 659 times)

lifedust2023

  • Guest
Same price level for multiple registrations. Help Please!
March 01, 2010, 11:36:06 am
First and fore most, Thank you! I'd appreciate the help given for the problem that i have.

I am using CiviCRM 3.1 to do online registration for one of my company's events and running into a small issue that need some help. Usually, when someone register for multiple people, they tend to want to be registered with the same level (ect VIP or Regular) so it is an inconvenience for the one who do the registration when CiviCRM keep changing to the default value of the price set when registering additional attendees in the same session. i am not a developer so i would like someone to help me on having the session remembers the price set of the first registration and use that price set for the rest unless again changed by the user.

https://www.ulem.org/civicrm/event/register?id=9&reset=1

Thanks
Ryan

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: Same price level for multiple registrations. Help Please!
March 01, 2010, 12:21:54 pm

you will need to use the buildForm hook and use setDefaults to set the default values for subsequent pages. Check:

http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+hook+specification

for details. if you want someone to do this for you, consider hiring someone from http://civicrm.org/professional/

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) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Same price level for multiple registrations. Help Please!

This forum was archived on 2017-11-26.