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 CiviMember (Moderator: Deepak Srivastava) »
  • How to dinamically assign a membership price depending on country of residence
Pages: [1]

Author Topic: How to dinamically assign a membership price depending on country of residence  (Read 425 times)

Philippe

  • I’m new here
  • *
  • Posts: 10
  • Karma: 0
  • CiviCRM version: latest
  • CMS version: Drupal 6
  • MySQL version: 5
  • PHP version: 5
How to dinamically assign a membership price depending on country of residence
January 30, 2014, 04:59:28 am
Dear all,
I have been looking everywhere for the best to way to implement what seems like a simple thing to do, but I am confused as to how to get this to work.
I have a site with members who pay dues at different prices according to their country of residence. (low income, middle income, high income country) The out of the box civicrm configuration lets me create membership types with their corresponding prices, and people chose the option they want in the contribution page.  However, we would like to prevent them from chosing the membershp type as they often chose the wrong one and pay the wrong amount.

What would be the easiest way to solve this?

Would cividiscount allow me to configure a discount based on the country of the member?

Shall I go for another solution ie inject a condition somewhere so that the correct membership type, or price appears in the join and renew pages?

This sounds simple to implement but I am a bit lost and would appreciate any advice from the community on this. What would you recommend?

Many thanks for your help

Philippe



Philippe

  • I’m new here
  • *
  • Posts: 10
  • Karma: 0
  • CiviCRM version: latest
  • CMS version: Drupal 6
  • MySQL version: 5
  • PHP version: 5
Re: How to dinamically assign a membership price depending on country of residence
January 30, 2014, 09:04:54 am
Ok, just a quick follow up, it seems cividiscount is not the solution.

Could anybody point me to the easiest solution on how to filter up membership types based on country of residence in the contribution pages (both join and renew)? This would be of tremendous help.

Many thanks


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 dinamically assign a membership price depending on country of residence
January 30, 2014, 10:23:25 am

1. Is it the same currency?

2. You will need to use a hook to do this. I would take a look at the cividiscount code and implement the hooks that automaticaly adjust the amount based on the country of the user

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 CiviMember (Moderator: Deepak Srivastava) »
  • How to dinamically assign a membership price depending on country of residence

This forum was archived on 2017-11-26.