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 maximum participants for different dates?
Pages: [1]

Author Topic: multiple maximum participants for different dates?  (Read 1231 times)

mirrorstage

  • I post occasionally
  • **
  • Posts: 57
  • Karma: 1
  • CiviCRM version: 4.6.7
  • CMS version: Drupal 6.37
  • MySQL version: 5.6.23
  • PHP version: 5.4.42
multiple maximum participants for different dates?
January 23, 2011, 06:26:15 pm
We are a small theatre company, using CiviEvent for ticketing. In order to correctly configure maximum participants, I currently set up different events for each performance date, rather than setting the production as the event with price sets for each performance--i.e. the house seats 171, so we can't have more than 171 participants per performance.

However, this makes purchasing tickets a tad confusing for some of our patrons. We were hoping there might be a way to streamline the process by configuring an event to list all the performances with a maximum participant linked to each price set, rather than the event overall.

My concern is that if I set the maximum participants for the event to the total # of performances times the # of seats, it will allow some performances to oversell, because the total maximum number of participants has not been reached.

Does anyone have any suggestions on another effective approach, solution or work-around for how to best configure maximum participants for events which have multiple days and price sets, or is what we're doing the best way to handle it?

Thanks for your help!

Rajan Mayekar

  • I post frequently
  • ***
  • Posts: 177
  • Karma: 20
    • Rajan's Blogs
Re: multiple maximum participants for different dates?
January 23, 2011, 08:03:46 pm
From CiviCRM3.3, we have included the functionality  which allow us to set maximum participants per priceset field (issue: http://issues.civicrm.org/jira/browse/CRM-6902). I am quite sure that you can easily use this here. Also you can configure price field activation/expiration date according to your need, you will find some details about it in this thread http://forum.civicrm.org/index.php/topic,11926.0.html .

Now hook_civicrm_buildAmount ( http://wiki.civicrm.org/confluence/display/CRMDOC33/CiviCRM+hook+specification#CiviCRMhookspecification-hookcivicrmbuildAmount ), support to customise pricset also ( you can check civitest.module.sample, for implementation of this hook ) :) .

Hope this will help you.

Rajan

mirrorstage

  • I post occasionally
  • **
  • Posts: 57
  • Karma: 1
  • CiviCRM version: 4.6.7
  • CMS version: Drupal 6.37
  • MySQL version: 5.6.23
  • PHP version: 5.4.42
Re: multiple maximum participants for different dates?
January 24, 2011, 02:49:15 pm
Thanks, Rajan! Part of the additional issue is that we have multiple price set items per performance, as well. So, how to divide the maximum participants among the price set items?

I will ponder further and try to figure out what an ideal solution would look like, even if I'm nto an advanced enough coder to make it happen. A consultant will be helping up code the customized visuals/theme of our site, so perhaps he might be able to help tweak the code in ways I don't know.

Rajan Mayekar

  • I post frequently
  • ***
  • Posts: 177
  • Karma: 20
    • Rajan's Blogs
Re: multiple maximum participants for different dates?
January 24, 2011, 08:13:55 pm
Quote
Part of the additional issue is that we have multiple price set items per performance, as well. So, how to divide the maximum participants among the price set items?
Maximum participant will be per field value of price set, suppose any price field have multiple choice options ( like checkbox, select etc ) you can configure maximum participant for each option of that field. So it will be easy to restrict specific option of the field.

Quote
A consultant will be helping up code the customized visuals/theme of our site, so perhaps he might be able to help tweak the code in ways I don't know.
You may take help from http://civicrm.org/professional , for future customisation. 

Rajan

kmarkley

  • I post frequently
  • ***
  • Posts: 178
  • Karma: 14
  • CiviCRM version: 4.4.3
  • CMS version: Drupal 7.24
  • MySQL version: 5.1.56
  • PHP version: 5.3.27
Re: multiple maximum participants for different dates?
January 26, 2011, 02:03:29 pm
Our solution to this was to create a custom drupal module thats lists all performance dates of a given show with links directly to the registration page (not the event info page).  So you get 1 drupal page with the description, images etc from which the patron can select a date they wish to attend.

(We also date-code our event names for convenience e.g. 'Show Name 0126')

You can see it here: http://catastrophictheatre.com/shows/paradise-hotel

If you're interested, PM me and I can send you the module.

kmarkley

  • I post frequently
  • ***
  • Posts: 178
  • Karma: 14
  • CiviCRM version: 4.4.3
  • CMS version: Drupal 7.24
  • MySQL version: 5.1.56
  • PHP version: 5.3.27
Re: multiple maximum participants for different dates?
February 23, 2011, 11:23:39 am
Sorry for the long delay.  The drupal module was created for us by WebAccess, but I have made a few tweaks/improvements.  I wanted to clean it up and add some notation, but time got away from me.

So I just uploaded it to the same place as the original:
http://wiki.civicrm.org/confluence/display/CRMDOC33/Module+to+List+Upcoming+CiviCRM+Events+in+Drupal+Node
http://wiki.civicrm.org/confluence/pages/viewpageattachments.action?pageId=35127431&metadataLink=true

Hope it is useful to you.

penguintrax

  • I post frequently
  • ***
  • Posts: 230
  • Karma: 2
  • CiviCRM version: 3.3x and 4.x depending on site
  • CMS version: Joomla 1.5 or 1.7 depending on site
  • MySQL version: 5.0.92-community
  • PHP version: 5.2.17
Re: multiple maximum participants for different dates?
March 04, 2011, 12:34:48 pm
I posted my question 'standalone', but since it relates to this thread, I'm going to repost here as well:

I have an event for which the venue holds 100 people. I want to allow 90 full time attendees and 10 day pass attendees for each of the three days of the event.

I set up the max count price set for full registration to be 90.
I set up a radio button price set for the day passes (Th, Fri,Sat) to have MaxCount of 10 each.

When my key volunteers went to register for the event, after the 4th person registered for the event (Full Reg) the other volunteers were given this message when they went to go to page 2 of the registration:

Quote

    Please correct the following errors in the form fields below:

        * Only 10 Registrations available.

This is obviously not correct as no-one had registered for a day pass, only Full Registrations.

What did I do wrong and better yet, how do I fix it?

Thanks!
Barbara

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • multiple maximum participants for different dates?

This forum was archived on 2017-11-26.