Group-Based Pricing

Development Status
Stable
Active Installs

Introduction

This CiviCRM extension allows you to limit the display of individual prices in price sets to specific groups. This allows you to implement things like members-only pricing for events. (by using a Smart Group to track current members) This extension works with both static and smart groups.

Download

Group-Based Pricing extension on GitHubhttps://github.com/zengenuity/civicrm_groupprice

Installation

  1. Copy the civicrm_groupprice folder into your CiviCRM extensions directory.
  2. Go to Administer > System Settings > Manage Extensions.
  3. Enable the "Group-Based Pricing" extension.

Usage

This extension adds two fields to the price option form found under Price Sets > View and Edit Price Fields > Edit Price Options > Edit Option. The "Limit Price Option To" field allows you select groups that will be allowed to see this price option. If no groups are selected, everyone can see the price option. The "Negate Price Group Limit" checkbox allows you to negate the group selection, meaning only users who are NOT in the selected groups can see the price option.

Members-Only Pricing

Probably the most common thing people will want to do with this is members-only pricing for events. To implement this you need to create a smart group for current members. Once you have that done, you can just select the members group in the price option form as described above.

Custom Templates

This extension provides a custom template for CRM/Price/Form/Option.tpl. If you have customize this template on your site, you will need to merge the changes from this extension into your custom template. The additions are noted with a comment in the template in this extension.

Screenshot (click to enlarge)