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) »
  • Discount for Multiple Attendees
Pages: [1]

Author Topic: Discount for Multiple Attendees  (Read 771 times)

Claare

  • Guest
Discount for Multiple Attendees
May 07, 2010, 10:23:38 am
Hi all!  Fairly new to CiviCRM, but not new to Drupal.  I'm setting up a website for a non-profit that does paid events.  They would like to give discounts based upon the number of tickets purchased.... ie $15 per ticket...$25 for two tickets.

How can this be accomplished with CiviEvent?  I've not found a way directly.  I know I can setup a Price set with multiple options, but the user is still presented with the option to choose the number of participants and if they choose 2 participants during event registration AND $25 for 2 tickets... they are charged $25 per participant.

thanks for your help!  I'm loving what I have seen so far and intend to recommend CiviCRM with other non-profit organizations.

Yashodha Chaku

  • Forum Godess / God
  • Ask me questions
  • *****
  • Posts: 755
  • Karma: 57
    • CiviCRM
Re: Discount for Multiple Attendees
May 07, 2010, 01:59:29 pm
Claare :
You  could use hooks to accomplish the same.

You might wanna check civitest_civicrm_eventDiscount hook in http://svn.civicrm.org/civicrm/branches/v3.1/drupal/civitest.module.sample

HTH
-Yashodha
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

marta

  • Guest
Re: Discount for Multiple Attendees
May 11, 2010, 08:53:28 am
I am having the same problem, and read the documentation for the build amount hook, but it seems to rely on there being different data about the user in the database. It seems to suggest that you need to know that the person is a student already. Multiple participants don't have any distinction as database entries, only when they are combined they become discounted. Does anyone know/understand how to implement this hook in order to give discounts for multiple participants. While we're at it, each participant should be logged as a separate participant in "event participants" and each participant should get an entry in the database.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Discount for Multiple Attendees

This forum was archived on 2017-11-26.