CRM-11148 Allow mutiple membership terms for price fields and for back-office created new memberships

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.2.4
    • Fix Version/s: 4.3.0
    • Component/s: CiviMember
    • Labels:
      None

      Description

      This adds a new field in the civicrm_price_field_value table to set the number of membership terms that correspond to an option in a price field. The result is that you can offer multiple options for a single member type--each with different lengths. With price sets, you have full control over the pricing for the options.

      A test is forthcoming.

        Attachments

          Activity

          [CRM-11148] Allow mutiple membership terms for price fields and for back-office created new memberships
          David Greenberg added a comment -

          Andrew - Please submit a follow-up patch for 4.3.alpha1.mysql.tpl which implements the schema changes for upgrades.

          David Greenberg added a comment -

          Committed initial revisions, including the upgrade changes. Awaiting a final patch to handle new memberships via back office membership form.

          Andrew Hunt added a comment -

          Patch attached--added to backend membership form

          Eileen McNaughton added a comment -

          Thanks Andrew - NICE!!

          David Greenberg added a comment -

          Commited additional fixes to notices in Set.php and BAO/Membership.php, and fixed Membership form so that total amount is updated if user selects > 1 term.
          Committed revision 43798.

          David Greenberg added a comment -

          Ravish - please review existing web tests and unit tests and add methods as needed to test both the new back-office multiple term membership create and the front-end and back-end multiple term via price field value.

          Ravish Nair added a comment -

          checked in r43875

            People

            • Assignee:
              Ravish Nair
              Reporter:
              Andrew Hunt

              Dates

              • Created:
                Updated:
                Resolved: