Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-2303

Contribution Page Membership Block Should Exclude Disabled Membership Types

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 1.8
    • Fix Version/s: 2.0
    • Component/s: CiviMember
    • Labels:
      None

      Description

      Currently, if you've selected a Membershp Type to be included in a Contribution Page Membership Signup block - and THEN you disable that membership type (Administer >> Membership Types) - the membership type is still included then the online contribution page is rendered (because it is still included in the civicrm_membership_block.membership_types list).

      Add a check for membership_type.is_active to the code which builds the membership_type radio button elements in the contribution pages' membership block.

        Attachments

          Activity

            People

            • Assignee:
              kiran.jagtap Kiran Jagtap
              Reporter:
              dgg David Greenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: