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 CiviContribute (Moderator: Donald Lobo) »
  • how to have an additional componant to membership fee?
Pages: [1]

Author Topic: how to have an additional componant to membership fee?  (Read 839 times)

webguy2

  • Guest
how to have an additional componant to membership fee?
September 15, 2009, 11:49:13 am
My constituents own properties.  Part of the membership fee is based upon how many properties they own.  In the calculation of total paid, a member could join for multiple years, and could own multiple properties (which have an associated fee).

In addition, I would like to see the break out of the different fees in the CiviContribute record.

How can I set up CiviContribute to capture and reflect the membership fee paid, the multiple property fee and the total paid?  (both for import and regular form usage)

Someone else has probably run into this before.  Many thanks for any ideas!

alphageekboy

  • I’m new here
  • *
  • Posts: 11
  • Karma: 1
  • Web Developer
    • Alpha Geek Tech, LLC
Re: how to have an additional componant to membership fee?
October 26, 2009, 11:58:05 am
I am also looking for similar functionality.  One of my memberships adds an additional amount based on a number of items entered.  For example, Membership Type A needs an additional field for "how many?" which then multiplies the additional cost by the number entered in how many.  I only need to do this for one membership out of about 15 different membership types on the same form.
Tracy C. Smith
Chief Technologist & Founder

Alpha Geek  Tech, LLC
p: 831.706.2187
http://alphageektech.net
skype/aol: tracycsmith
t: alphageektech

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: how to have an additional componant to membership fee?
October 26, 2009, 12:34:34 pm

I cant think of an easy way to do the below without some significant coding.

You might be able to accomplish it by implementing the membership type hook

http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+hook+specification#CiviCRMhookspecification-hookcivicrmmembershipTypeValues

and reloading the page with a new custom field if membership type A is selected and changing the amount on submission.

If you are skilled at PHP/MySQL, ping us on IRC and we can help u get started

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • how to have an additional componant to membership fee?

This forum was archived on 2017-11-26.