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) »
  • Complex contribution pages - price sets?
Pages: [1]

Author Topic: Complex contribution pages - price sets?  (Read 1048 times)

pimousse98

  • Guest
Complex contribution pages - price sets?
September 29, 2008, 11:19:43 pm
Hello all,

I have been in a bind for a while, being limited by the few options in the membership signup page. My main problems are:
- only one group of memberships is possible per page
- memberships in this group are mutually exclusive
- there is no way to modify final cost by some other factor (e.g. shipping cost)
Ideally I'd like to see something like "price sets" for contribution pages.

Here is an outline of my project's requirements:
- user can signup for organization A membership (different levels, e.g. student, full, 1 year, 2 year, life)
- if out of country, must pay extra for shipping (2 options, assume user is smart enough to pick shipping when needed)

user, in the same operation, is given options to sign up for organization A's sister orgs
- org B with 2 levels
- org C with 1 level
- org D with 3 levels
.... and so on (there are about 7 sister orgs, and people can be members in any combination of them).

Check out at once with PayPal. Memberships are on fixed dates (e.g. from july to july).

Org A sends (manually) its sister orgs the information about who signed up for each. Keeping track of status in org A is desired, but status in other orgs is not as critical, even though it would be nice.

Right now I only found incomplete solutions, e.g.:
- using an "event" for membership with price sets (accommodates the complexity of the form but then there is no tracking of who is what and who needs to renew their membership).  This would require to create a new event every year (e.g. 2008 memberships, 2009 memberships) and extra work for the clients to handle the 2 year / lifetime subscriptions.
- using an online contribution page for org A and an event for sister orgs (but then user has to check out twice)

To make this work, I need to figure out the answer to at least some of the following questions:
- Are there ways to modify the contribution page to include price sets? I think it might be useful to other orgs as well, e.g. get membership + t-shirt + magazine + shipping at once. Something that would automatically calculate the contribution based on the checked options (and allows multiple combinations)
- Are there ways to link an event registration with price sets to group membership with an expiration date - to emulate the output of a membership form?
- Are there ways to have several "blocks" of membership signups put together in one page? (org A's membership, org B's membership, and so on)

I have a decent level in PHP but would like to avoid creating too much custom code that will impair future maintenance/upgrades.
Any help is appreciated,

dvm


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: Complex contribution pages - price sets?
September 30, 2008, 05:47:19 am

There are two potential core contributions here:

1. Extend contribution pages to include pricesets. This might be a bit more complicated when memberships are included etc

2. Allow event registrations to create memberships. Will need to address renewal case

If you are willing to do the design/coding, we can help you with spec'ing the issue and ensuring its complete etc to enable it to be included in core for the 2.2 release

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

pimousse98

  • Guest
Re: Complex contribution pages - price sets?
September 30, 2008, 07:44:27 am
The simplest solution, for my purpose, would be to add pricesets to the contribution pages, while keeping the membership functionality. It should also be useful for people who have a more complex contribution structure. What I would envision is something similar to what the event page shows, except for the added membership section at the beginning. In the contribution settings page where one can type all the different levels/prices, have a "use price set" option & drop-down similar to what is in the event settings page. Using a price set replaces the list of mutually exclusive contribution levels but keeps the memberships.

Using an event for my purpose really is a hack and is not logical (even though having a way to create memberships as a result of event registration could make sense for other cases).

I do not develop full time (I'm a full time student) but will look into the code and try to evaluate if I can do this in a reasonable amount of time.

d

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Complex contribution pages - price sets?

This forum was archived on 2017-11-26.