CRM-16862 Allow setting of default value for donation amount or membership fee via url for contribution/membership pages

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.6.6
    • Fix Version/s: 4.6.6
    • Component/s: CiviContribute
    • Labels:
      None
    • Documentation Required?:
      Developer Doc
    • Funding Source:
      Core Team Funds

      Description

      Allow advanced users to set the default value for donation amount and membership fee via URL
      Internally all the donation amount and membership fees are price sets.
      Here is the example for setting defaults
      <site-name>/civicrm/contribute/transact?reset=1&id=1&price_2=3

      Here were are setting price set field = 2 with value 3 as default

        Attachments

          Activity

          [CRM-16862] Allow setting of default value for donation amount or membership fee via url for contribution/membership pages
          David Greenberg added a comment -

          Tested w/ quick-config and regular price sets. Tested radio, checkbox and select type options.

            People

            • Assignee:
              David Greenberg
              Reporter:
              Kurund Jalmi

              Dates

              • Created:
                Updated:
                Resolved: