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) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions »
  • CiviEvent Suggestions (Moderator: Michał Mach) »
  • Can we remove final "total participants" on confirmation/ thankyou pages?
Pages: [1]

Author Topic: Can we remove final "total participants" on confirmation/ thankyou pages?  (Read 1992 times)

joanne

  • Administrator
  • Ask me questions
  • *****
  • Posts: 852
  • Karma: 83
  • CiviCRM version: 4.4.16
  • CMS version: Drupal 7
Can we remove final "total participants" on confirmation/ thankyou pages?
June 27, 2011, 02:37:17 am
We are a not-for-profit using the civievents for registrations for a conference.   It has 4 sessions where there are concurrent presentations.
When someone registers they must choose the presentations they will attend.

I have set up a price sets to deal with this. I have ended up with 6 different price fields because it is a paid event and there is a dinner that people can choose to attend.  A choice is required for each price field.

 The registration process works well, apart from the fact that the confirmation page and thank-you page confuse everyone.

Depending on the choices made, the Conference Fee sections of those pages might look something like:

Item                                                       Qty        Unit Price   Total Price   Total Participants
Suro payment - 1 day                          1             $ 150.00   $ 150.00           1
Suro Dinner - 1 ticket                          1             $ 30.00           $ 30.00           1
Soru day 1 AM - Not attending           1             $ 0.00            $ 0.00           0
SURO day 1 pm - Not attending          1             $ 0.00            $ 0.00           0       
SURO DAY 2 AM - Session M                  1             $ 0.00            $ 0.00           1
Suro day 2 pm - Session X                1                     $ 0.00           $ 0.00           1

Event Total: $ 180.00
Total Participants: 4

The main problem for our event is that Total Participants: 4   is a nonsense.  There are not 4 participants - there is one participant who has made choices in 4 fields where the participant count is one.   I would like to see the line Total Participants: 4 removed from confirmation page and thank-you page. 

If there is a different type of event where Total Participants: 4 does make sense and is required, then perhaps it could become an option to display or not  in the Price set settings.







acreighton

  • I’m new here
  • *
  • Posts: 1
  • Karma: 0
  • CiviCRM version: 1
  • CMS version: 1
  • MySQL version: 1
  • PHP version: 1
Re: Can we remove final "total participants" on confirmation/ thankyou pages?
September 06, 2012, 04:56:22 pm
Eureka, I figured this out (has been bugging me and my members too :).

I went in to the corresponding .tpl file and removed a bit of code. 

This is the file:

modules/civicrm/templates/CRM/Price/Page/line-item.tpl

(first make an "original" copy of this file so you have a back-up of the original file)

Here's what to remove: It's not letting me paste code, so basically, just remove the whole "content bold" div and all that's inside it.

And that's it.  It doesn't remove the "total participants" column (which always says "1"), but it gets rid of the grand total, which I think is more confusing.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions »
  • CiviEvent Suggestions (Moderator: Michał Mach) »
  • Can we remove final "total participants" on confirmation/ thankyou pages?

This forum was archived on 2017-11-26.