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) »
  • Price options that depend on a previous selection
Pages: [1]

Author Topic: Price options that depend on a previous selection  (Read 566 times)

leupi

  • I post frequently
  • ***
  • Posts: 192
  • Karma: 2
Price options that depend on a previous selection
October 20, 2011, 10:56:48 am
I have an event that includes some prices that depend on other price selections. For instance, if a person selects the option to attend our full five day conference then dinner is included in the prices and there are no further options; however, if the individual chooses to only attend for one day then there is a dinner option is available. I would prefer not to have this option available unless the one day option is chosen in order to avoid confusion. I don’t want someone to choose the five day option then choose the dinner option when it is already included. Is there a way to have price options only show when a specific previous option is chosen?

leupi

  • I post frequently
  • ***
  • Posts: 192
  • Karma: 2
Re: Price options that depend on a previous selection
October 24, 2011, 08:44:50 am
So far, with all of my poking around, I have yet to find a way to make one price option dependent on a previous selection. As I previously mentioned if a person selects the full five day registration then all meals are provided, only if you select a one day registration will you need the option of also selecting a meal. I would prefer to have the meal option not even be visible to those that chose the five day registration and to only be visible if you chose a one day registration. This would avoid having someone choose five day AND a meal. Any thoughts on how I might be able to pull this off?

Thanks.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Price options that depend on a previous selection
October 24, 2011, 09:13:34 am
You can do it with jQuery: http://civicrm.org/blogs/hershel/how-customize-civicrm-pages-jquery
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Price options that depend on a previous selection

This forum was archived on 2017-11-26.