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 (Moderator: Dave Greenberg) »
  • Show total on registration page
Pages: [1]

Author Topic: Show total on registration page  (Read 1567 times)

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Show total on registration page
July 17, 2008, 04:32:19 pm
It would be a cool new feature if the total amount owed was displayed on the event registration page while the person completed the event fee section. Particularly useful for complex price sets with multiple options.
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Show total on registration page
July 17, 2008, 11:11:48 pm
Hi,

I'd almost suggest to go for a custom form.

However, and that's a problem I've encounter at several places, some of the information displayed is "precalulated/generated", ie instead of having separately the list of items and prices, you just got an html blob, where you can't extract the prices from in javascript.

It'd be great to add some semantic (eg <input name="whateveryouneed" item="hotel" price"42.2"... />)

Then you can do whatever you want with javascript and do your own client side calculation and all that jazz.

jquery has some nice things with the classes to have something semantic and that validates.

Do you want me to elaborate ?

If you need a quick hack, you can add your own assign of extra variables so you can access them in smarty, it works ok.

X+


-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Show total on registration page
July 18, 2008, 09:12:21 pm
Quote from: lcdweb on July 17, 2008, 04:32:19 pm
It would be a cool new feature if the total amount owed was displayed on the event registration page while the person completed the event fee section. Particularly useful for complex price sets with multiple options.

Brian - we're planning on some refactoring / improvements in price sets for 2.2. Can you file an issue for 2.2 and describe in detail how you think this should work. I assume it would only apply to price sets - since otherwise there's only a single value. ??
Protect your investment in CiviCRM by  becoming a Member!

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: Show total on registration page
July 19, 2008, 07:01:19 am
Done --
http://issues.civicrm.org/jira/browse/CRM-3330

Thanks!
Brian
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions (Moderator: Dave Greenberg) »
  • Show total on registration page

This forum was archived on 2017-11-26.