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 sets and discounts
Pages: [1]

Author Topic: price sets and discounts  (Read 938 times)

gzumaglini

  • Guest
price sets and discounts
April 03, 2009, 02:36:10 pm
i have a couple of questions regarding event fees:

- is there a way to have more than ten fee levels?

- is it possible to have price sets with discounts?

what i want to do is to have a grouped price set (i need more than one single set of fees) with early bird discounts.

thank you for your help!

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: price sets and discounts
April 03, 2009, 08:01:56 pm

1. the first item is possible with some minor tweaks to the code

2. the second item would require some significant modifications

if you'd like to work on the second item, please contact us on IRC and we can get you going.

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

gzumaglini

  • Guest
Re: price sets and discounts
April 04, 2009, 07:59:06 am
thank you for your help lobo.

could you lead me in the right direction for item no. 1?

my idea is that i will do the grouping of the items in a custom template (at least visual grouping).
is there some kind of "how-to" for the tweaks?

i really appreciate your help.

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: price sets and discounts
April 04, 2009, 08:54:02 am

you will need to tweak the code at:

CRM/Event/Form/ManageEvent/Fee.php

Code: [Select]
    const NUM_OPTION = 11;

You will also need to tweak the number at: templates/CRM/Event/Form/ManageEvent/Fee.tpl (line 69)

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

gzumaglini

  • Guest
Re: price sets and discounts
April 05, 2009, 12:11:53 am
great! thank you.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • price sets and discounts

This forum was archived on 2017-11-26.