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) »
  • Editing Participants' Price Set Data
Pages: [1]

Author Topic: Editing Participants' Price Set Data  (Read 2725 times)

JoeMurray

  • Administrator
  • Ask me questions
  • *****
  • Posts: 578
  • Karma: 24
    • JMA Consulting
  • CiviCRM version: 4.4 and 4.5 (as of Nov 2014)
  • CMS version: Drupal, WordPress, Joomla
  • MySQL version: MySQL 5.5, 5.6, MariaDB 10.0 (as of Nov 2014)
Editing Participants' Price Set Data
February 26, 2010, 05:44:21 pm
Suppose one has used price sets to indicate attendance at sessions of a conference, many of which have a cost associated with them. When reviewing individual registrations (civicrm/contact/view/participant), the price set selections are displayed nicely for viewing near the top of the page as the Event Fee values, and legibly in the Amount column in the Contribution section at the bottom of the page.

Unfortunately, neither editing the participant record nor editing the associated contribution record allow one to edit the price set selections that make up the Event Fee. If someone changes their mind and wants to change which sessions they are registered for, how can an admin person make that kind of an edit?

Assuming this is not currently available, what would be a good architecture for incorporating this functionality?
Co-author of Using CiviCRM https://www.packtpub.com/using-civicrm/book

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Editing Participants' Price Set Data
February 27, 2010, 06:26:41 pm
Joe - As you suspected, you can't edit / modify price set selections. The 'work around' is to create a new event registration / new contribution record and delete the old records. Note that there is a more general 'issue' - which is that we don't allow editing of any amount-related aspects of event registration records if there's an associated contribution record (and if the contribution record is marked 'Completed' this seems like a reasonable restriction).

So, tackling this would mean tackling rules and code for modifying the event fees AND associated contribution. And, specifically providing a 'modify price set selections' UI (maybe in an ajax pop-up dialog which exposes that form snippet with the current values selected), then updated the line_item rows, and the event fee column in participant table.
Protect your investment in CiviCRM by  becoming a Member!

JoeMurray

  • Administrator
  • Ask me questions
  • *****
  • Posts: 578
  • Karma: 24
    • JMA Consulting
  • CiviCRM version: 4.4 and 4.5 (as of Nov 2014)
  • CMS version: Drupal, WordPress, Joomla
  • MySQL version: MySQL 5.5, 5.6, MariaDB 10.0 (as of Nov 2014)
Re: Editing Participants' Price Set Data
March 02, 2010, 09:20:27 am
Thanks Dave. Would it also require implementing support for payment processor plug-ins to refund amounts? I haven't done any implementations where refunds were done automatically by CiviCRM. This is starting to look like a sizeable chunk of work. Thanks for the suggested work-around.
Co-author of Using CiviCRM https://www.packtpub.com/using-civicrm/book

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Editing Participants' Price Set Data
March 02, 2010, 12:50:59 pm
Not sure what the right approach is for refunds / additional charges automation (if any). Another reason why the 'workaround' of cancel + new event registration might be best. If original payment was done online, the admin could potentially handle the cancellation / refund of the original payment via the payment processor admin interface.
Protect your investment in CiviCRM by  becoming a Member!

d4web

  • I’m new here
  • *
  • Posts: 7
  • Karma: 0
Re: Editing Participants' Price Set Data
March 11, 2010, 08:19:28 pm
Joe - I ran into the same problem and custom designed an add-on that allows you to edit Event Registrations and the price set options that the user selected. Send me an email at johndunlap4 (at) gmail dot com if you are still interested in this add-on.

garfield1979

  • Guest
Re: Editing Participants' Price Set Data
April 22, 2010, 01:20:30 pm
Hey guys, I'm having this problem, has anyone posted a solution to it yet ? I've tried emailing d4web but have yet to hear back..

If anyone has a solution to this, could you please PM me or email me a chris (at) perfectillusions com

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: Editing Participants' Price Set Data
September 07, 2010, 08:21:00 am

i emailed john about this requesting him to share the code. At this point he is not willing to publish it under an open source license since he paid to get it developed

cest la vie

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

gholt

  • I post occasionally
  • **
  • Posts: 79
  • Karma: 0
Re: Editing Participants' Price Set Data
September 08, 2013, 02:54:19 pm
Since there hasn't been any movement on this topic for 3 years, I started another topic here:
http://forum.civicrm.org/index.php/topic,29914.0.html

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Editing Participants' Price Set Data

This forum was archived on 2017-11-26.