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) »
  • Multiple price sets? Or maybe selective discounts?
Pages: [1]

Author Topic: Multiple price sets? Or maybe selective discounts?  (Read 536 times)

jsimonis

  • I post frequently
  • ***
  • Posts: 316
  • Karma: 4
    • Forward Support, Inc.
  • CiviCRM version: 4.4-4.5
  • CMS version: Drupal 7
  • MySQL version: 5.5.37-cll
  • PHP version: 5.3.29
Multiple price sets? Or maybe selective discounts?
October 07, 2014, 12:14:46 am
Is there a way to either add multiple price sets to an event or have a discount be selective?

We have an event where there is the registration for the conference, a wine tour, and an evening social. Members get a discount on the conference, but not the other activities.

Is there a way to either do multiple price sets or be selective in how discounts are done? I need the discount to be automatic for members on the conference registration, but not for the other options. Right now I have it set up as two different events that you sign up for so that no discount is made on the social events. But it would certainly be nice if people could sign up right on the one page.

Thanks!

zkrebs

  • I post occasionally
  • **
  • Posts: 69
  • Karma: 1
Re: Multiple price sets? Or maybe selective discounts?
October 08, 2014, 11:10:24 am
Are you using the CiviDiscount extension? You can apply discounts to individual items in price set.


dshabra

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: Not sure
  • CMS version: Not sure
  • MySQL version: not sure
  • PHP version: not sure
Re: Multiple price sets? Or maybe selective discounts?
October 16, 2014, 10:38:02 pm
Hello,
We are using civiDiscount and have the same problem you are having.  We have a radial price set with multiple options all eligible for discount and then a check box price set with one optional selection not eligible for discount.  No matter what we try the discount applies to both price sets no matter which ones we move back and forth.  When we move the event to activate it it is like the event has control and is not allowing the price options to be recognized.  If we don't activate the event then no discount is applied no matter what we do with the price set options.

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Multiple price sets? Or maybe selective discounts?
October 17, 2014, 01:00:21 am
If you are talking about CiviDiscount you should specify CiviCRM version & CiviDiscount version as there have been changes in response to issues regarding line item discounts
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

jsimonis

  • I post frequently
  • ***
  • Posts: 316
  • Karma: 4
    • Forward Support, Inc.
  • CiviCRM version: 4.4-4.5
  • CMS version: Drupal 7
  • MySQL version: 5.5.37-cll
  • PHP version: 5.3.29
Re: Multiple price sets? Or maybe selective discounts?
October 19, 2014, 10:19:01 pm
CiviCRM 4.4.6 and CiviDiscount 2.5.

I see there's an upgrade of CiviDiscount. I'm going to go upgrade to that right now. I have to wait to upgrade CiviCRM until this big event and membership push is over.

EDIT: Well, I'm going back to CiviDiscount 2.4. I upgraded and now none of the discounts work. Can't have that in the middle of an event registration period.
« Last Edit: October 19, 2014, 10:25:40 pm by jsimonis »

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Multiple price sets? Or maybe selective discounts?
October 19, 2014, 11:41:53 pm
There is a bit of a history with CiviDiscount. I did a whole lot of work on it against 4.4 & did a PR for a version with quite a lot of changes. It was partly merged & then they forked for 4.5 & the rest was merged. The upshot being that I don't know too much about the state of the 2.5 branch against 4.4 but I continued with my work on 4.4 & the version we have been using against 4.4 is being called 2.5.1 - although it's not the official branch

https://github.com/eileenmcnaughton/org.civicrm.module.cividiscount

Both 2.5.1 (4.4) & 2.6 (4.5) include schema changes to the cividiscount tables, so it might be worth trying 2.5.1 but definitely try on a test site first.

Note that 2.5.1 / 2.6 make it possible to determine your own criteria - so we have a site where specific line items are discounted for all students, as defined by a custom field

I would also note we had to patch core a bit & those patches are likely to be in the 4.4 LTS release  - I can't recall whether it was core patches of the cividiscount version that got it all working but we definitely have fine-grained discounts working - ie. discount particular membership types within a price set for people over 80 years old (I think we have another bit of custom code that removed ineligible membership types from the price set )
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

jsimonis

  • I post frequently
  • ***
  • Posts: 316
  • Karma: 4
    • Forward Support, Inc.
  • CiviCRM version: 4.4-4.5
  • CMS version: Drupal 7
  • MySQL version: 5.5.37-cll
  • PHP version: 5.3.29
Re: Multiple price sets? Or maybe selective discounts?
October 20, 2014, 10:47:42 pm
Thanks. I will take a look at that one. I'm hoping it won't be too much longer before we can upgrade CiviCRM, so then we'll be utilizing the newest version of that. A number of features we could use are in that, but I came on right as event registration was underway and membership renewals happening, so I'm trying not to touch stuff too much. They had me change out the way the registration had been working right in the middle of registration, which confused everyone (no more assuming people were honest about being a member - the system now checks and automatically does the price). That caused enough headaches from people freaking out even though I had explained it many times that you had to be logged in in order for it to know you were a member. As such, I don't want to touch anything else during this period. ;)

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

This forum was archived on 2017-11-26.