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) »
  • Complimentary Registrations
Pages: [1]

Author Topic: Complimentary Registrations  (Read 595 times)

emilyf

  • Ask me questions
  • ****
  • Posts: 696
  • Karma: 54
  • CiviCRM version: 2.x - 4.x
  • CMS version: Drupal 5, 6, 7
Complimentary Registrations
March 25, 2010, 08:30:05 am
I want to be able to let people register for events who can have a complimentary ticket at no charge but can use the same registration form as everyone else. trying to determine the best way to do this. heck, maybe i already can and don't know it. enlighten me!

one way i thought of would be some kind of conditional field like drupal does...if you select the 'comp' option a conditional field shows up and you enter a password or something; if it's not correct then you can't use it.

another idea would be to have a price set with some kind of acl on a particular choice that could be associated with a role/group.

another idea would be to have someone enter a passcode and if it's correct pass some parameter to the event reg form that could show the 'comp' price option. maybe this is easiest as i could possibly just hide/show the particular radio via css and pass a new class into the template file if the passcode is correct.

or of course if there's any level of interest for others perhaps this could be a feature request for civi.

thoughts or suggestions on best approach here are appreciated.

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: Complimentary Registrations
March 25, 2010, 08:59:23 am
There's some existing code via hooks to do event discount coupons (you could do a 100% coupon).
http://civicrm.org/node/566

The only limitation is that it can only be implemented for standard event fees (not pricesets). Though Lobo was talking about adding a hook in order to impact the amount (like buildAmount) for pricesets -- not sure if that's been done -- but there may be more capacity to extend this to pricesets.
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Complimentary Registrations

This forum was archived on 2017-11-26.