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) »
  • Special Pricing for Members
Pages: [1]

Author Topic: Special Pricing for Members  (Read 720 times)

qjensen

  • I post frequently
  • ***
  • Posts: 141
  • Karma: 11
    • Scaled Solutions
  • CiviCRM version: 4.5
  • CMS version: Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.3
Special Pricing for Members
August 25, 2010, 06:37:31 am
I know that this feature has been heavily requested, and I have a couple of clients who really need this feature. It was on the candidate features list for 3.2, but I don't know if it actually made it.

Has any work been done on this feature? Is there any release timeframe?

I am willing to help with development/testing/whatever I can, I just don't want to start working on something on my own only to find that it is 80% complete.

Thanks,
Quint
Quint Jensen
Web Developer
Scaled Solutions
--" Remove the 'I want you to like me' notes from your forehead and place them where they truly will do the most good -- on your mirror!" Author Unknown

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: Special Pricing for Members
August 25, 2010, 07:02:28 am

you can do this via hooks: http://civicrm.org/node/566

someone is writing a coupon module (similar concept): http://civicrm.org/blogs/eparisiva/drupal-module-discount-coupon-system

u might want to get in touch with siva and use that code to build a coupon for "members" feature

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

qjensen

  • I post frequently
  • ***
  • Posts: 141
  • Karma: 11
    • Scaled Solutions
  • CiviCRM version: 4.5
  • CMS version: Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.3
Re: Special Pricing for Members
August 25, 2010, 08:24:31 am
Hi Lobo,

I can do this via hooks, and have worked with the buildAmount hook on a membership sign up form.

I was just wondering if it was going to make it into any upcoming releases since it was on the feature list.

The problem with doing this via a hook, at least for one of my clients, is that the discount isn't a straight percentage, but a dollar amount difference. I would have to create a custom form for each event (which is 15 or more events per year) with the hook implementation. Multiply that by 3 or 4 clients, and that becomes a significant amount of work.

I would be willing to work on a module to add this functionality if something isn't already on the drawing board. I was picturing something like Ubercart's price by role module that could be applied to each price set.
Quint Jensen
Web Developer
Scaled Solutions
--" Remove the 'I want you to like me' notes from your forehead and place them where they truly will do the most good -- on your mirror!" Author Unknown

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: Special Pricing for Members
August 25, 2010, 09:59:43 am

this is currently not on our feature list for 3.3 (which is composed primarily of sponsored projects)

I would definitely encourage you to touch bases with siva and potentially base your stuff on the work that he has done (which is based on the uc_coupon module). Siva is on IRC most days

Note that price set is not hookable as yet. So u will need to patch that first :)

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

qjensen

  • I post frequently
  • ***
  • Posts: 141
  • Karma: 11
    • Scaled Solutions
  • CiviCRM version: 4.5
  • CMS version: Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.3
Re: Special Pricing for Members
August 26, 2010, 03:31:00 pm
That sounds like quite a project!

I may have to find another way of implementing this feature.

Maybe just go direct to the db and get the price set info?
Quint Jensen
Web Developer
Scaled Solutions
--" Remove the 'I want you to like me' notes from your forehead and place them where they truly will do the most good -- on your mirror!" Author Unknown

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Special Pricing for Members

This forum was archived on 2017-11-26.