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) »
  • Multiple Event Registration
Pages: [1]

Author Topic: Multiple Event Registration  (Read 3565 times)

Nolza

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
  • CiviCRM version: 4.0.8
  • CMS version: Drupal 7.10
  • MySQL version: 5.1.60
  • PHP version: 5.2.17
Multiple Event Registration
December 21, 2011, 12:38:51 pm
Currently classes are setup as events, where parents using same email address can sign their children up with the use of custom fields.

Our client is also in need of multiple course registration. From a former posting (http://forum.civicrm.org/index.php?topic=15014.0), the flow probably most resembles this, but I haven't come across a solution.

Workflow A
1. Create each event separately as usual, specifying description, dates, location, fees (skipping online registration form)
2. Create a Multi-event online registration form where you basically specify which events to include, and the Online Registration configuration details (Profiles to include, confirmation text, thank-you and receipting)

My thinking is possibly creating one form for registration making use of "Price Sets" so a parent can simply check mark all the courses they want for one child, but events are also individually still listed (just without an online registration segment) so details can be seen about the class. When a user wants to register, they are taken to the price set form. Hopefully the price set form can also include the information of the course in the form of a popup or just text under or above the selection.

Additionally, is it possible I can segment the account profile information where Parent is the master but doesn't count towards registration, but children do? So, when a parent signs up a child they can choose which child is signing up for whichever registration instance?

Is this possible with civiCRM or other solutions available? I'd appreciate any guidance thank you.

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: Multiple Event Registration
December 21, 2011, 05:36:33 pm

check:

http://wiki.civicrm.org/confluence/display/CRMDOC41/CiviEvent+Cart+Checkout
http://civicrm.org/blogs/anemirovsky/case-study-civicrm-multiple-event-registration

This code is now part of 4.1 alpha 2 (beta1 being released today). Would be great if you can exercise this functionality and see if it matches your needs. Note that this code is still fairly new, so i suspect some debugging / coding / bug-fixing skills might be needed on your end to help ensure it gets better

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

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Multiple Event Registration
December 23, 2011, 04:53:52 pm
You may want to also look at Webform Integration, as it can register multiple people for multiple events, create relationships between them, and it also meets your requirement of having a parent register children but not self.
Try asking your question on the new CiviCRM help site.

Nolza

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
  • CiviCRM version: 4.0.8
  • CMS version: Drupal 7.10
  • MySQL version: 5.1.60
  • PHP version: 5.2.17
Re: Multiple Event Registration
December 24, 2011, 02:06:55 am
Thanks for a point in the right direction. I've installed a new instance of civicrm alpha 4.1 alpha 2 with Drupal 7.10. After setting up a few events with online registration and enabling the cart event component, I can now have "add to cart" functionality. But, there was a rather peculiar problem occurring when I attempted to "View Cart" given in the messages notice after adding an item. Basically, the link points to improper location for a site installed with no url aliases enabled. This is a minor problem however... adding a button to cart to the menu gets to the right spot.

I've looked at the webform civicrm integration and it looks to be promising, but I don't see how that will necessarily integrate seamlessly with the event cart component. As another more significant issue, webform_civicrm seems to currently not support payment processing. Additionally, I would require further flexibility in being able to filter the events selection based off of the contact's current grade.

Does the new beta release also contain add to cart for events? If it's more stable I'd probably be better off using that one
« Last Edit: December 24, 2011, 02:39:27 am by Nolza »

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: Multiple Event Registration
December 24, 2011, 03:14:43 am

Yes, the beta version has some additional fixes so you should try that.

If you can do a detailed QA cycle and then post on the forums with your impressions, what worked / what did not and detailed instructions on how to reproduce that would be great and help us fix a few more bugs/issues with it before the final release

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

Nolza

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
  • CiviCRM version: 4.0.8
  • CMS version: Drupal 7.10
  • MySQL version: 5.1.60
  • PHP version: 5.2.17
Re: Multiple Event Registration
December 27, 2011, 07:25:50 am
Sure, definitely will do that. I'd like to help out in whatever way I can.

I'm currently using views to list out all courses, and have an add to cart link next to them. This works, but I don't know how to get it to update and detect that "add to cart" has occurred and to change in to a "remove from cart" case.

Looking at the case study sample suggested earlier they've done this too, but I'm a little stumped as to how they achieved that.

Adam Wight

  • I’m new here
  • *
  • Posts: 9
  • Karma: 3
  • CiviCRM version: 4.2.x
  • CMS version: Drupal
  • MySQL version: 5
  • PHP version: 5.3
Re: Multiple Event Registration
December 27, 2011, 08:00:40 pm
Hi, I'm currently working on the Event Cart workflow and might be able to help with your configuration.  To get a dynamic "Add / Remove from Cart" element in Views, add the field "CiviCRM Events: Registration Link Text".

The missing "Cart" menu is an open issue, I think I will create an optional drupal menu item.

Hope your installation goes well!

Nolza

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
  • CiviCRM version: 4.0.8
  • CMS version: Drupal 7.10
  • MySQL version: 5.1.60
  • PHP version: 5.2.17
Re: Multiple Event Registration
December 27, 2011, 10:23:19 pm
Hi Adam,

Thanks for the response.... but could you perhaps be more specific? I've looked at that field before but I don't know which options to set in order to get a dynamic Add / Remove from Cart link without having to go to the Event Page itself.

Best,

Nolza

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
  • CiviCRM version: 4.0.8
  • CMS version: Drupal 7.10
  • MySQL version: 5.1.60
  • PHP version: 5.2.17
Re: Multiple Event Registration
December 28, 2011, 11:33:41 am
A couple of things I've come across that seem to be rather glaring - I'm not sure if this is because I am setting it up incorrectly or because the functionality isn't there yet. :-X

Use Case 1: Multiple participants for an Event
With events setup to allow for multiple participants to register and cart enabled, it seems it no longer gives a drop down box asking the number of participants when in checkout phase. There is however, an "Add Participant" link at the bottom in checkout which circumvents this. However, when I click on it nothing happens...

Ideally I want this to create a new participant, "Child", which is a standalone profile form with fields such as name of the child. I have Child set under events configuration for when adding participants, so I don't know what could be the problem as to why it does nothing when I click Add a participant... the link merely points to "/civicrm/event/cart_checkout#"

Use Case 2: Checkout Payment Processing
I've entered and chosen Paypal Standard with sandbox settings to test the payment processing. But, when I get to the point clicking "Complete Transaction" button, the page just seems to refresh.. but goes nowhere.

Use Case 3: Pay Later Option
Payments may be made later via check, so this option is set up under Events configuration. But, under cart and checkout, this doesn't seem to be available any longer. (Perhaps this has something to do with the above case mentioned and is processed in a later section).

Adam Wight

  • I’m new here
  • *
  • Posts: 9
  • Karma: 3
  • CiviCRM version: 4.2.x
  • CMS version: Drupal
  • MySQL version: 5
  • PHP version: 5.3
Re: Multiple Event Registration
January 04, 2012, 11:29:06 am
* Did you try creating a View, adding the field "CiviCRM Events: Registration Link Text", but the text still doesn't display as a dynamic Add / Remove?

* Right, "Add Participant" is supposed to supercede the dropdown with a number of participants.

* Please help me diagnose the broken "Add Participant" button by looking for errors in two places, the browser's Javascript console, and the webserver error log.  I couldn't reproduce this issue on sandbox.civicrm.org or on my development machine.

* "Complete Transaction" failure: The only condition I know of that explains your issue would be if a fatal error is being thrown.  I'm not sure why the error wouldn't be displayed, however.

* "Pay By Check" is a feature I've added for our clients, I plan to contribute back to the Civi codebase soon.

Also, I've added a list of known bugs to the Cart Workflow documentation on the wiki, see Lobo's post for that URL.  Hopefully we can resolve the issues you've encountered--posting new problems to the civi issue tracker might be a good idea.  Thanks!

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

This forum was archived on 2017-11-26.