GithubHelp home page GithubHelp logo

jitendrapurohit / civicrm_groupprice Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zengenuity/civicrm_groupprice

0.0 1.0 0.0 29 KB

CiviCRM extension that allows you to limit the display of individual prices in price sets to specific groups. This can be used to implement members-only pricing for events, as well as other use cases.

License: Other

PHP 75.52% Smarty 24.48%

civicrm_groupprice's Introduction

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.

Installation

  1. Copy the civicrm_groupprice folder into your CiviCRM extensions directory.
  2. Go to Administer > System Settings > Manage Extensions.
  3. Enable the "Limit Prices by Group" 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.

Credit

This extension was written by Wayne Eaker and modeled after qjensen's CiviCRM-Member-Pricing module.

civicrm_groupprice's People

Contributors

zengenuity avatar sdragnev avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.