Skip to content

sunny2601/spree-promotion-roles-rule

Repository files navigation

SpreePromotionRolesRule

This extension allows you to create promotions that are valid for a specific user-role.

Installation

Add spree_promotion_roles_rule to your Gemfile:

gem 'spree_promotion_roles_rule', github: 'sunny2601/spree-promotion-roles-rule'

Add rule to config/initializers/spree.rb

Rails.application.config.spree.promotions.rules << RolesPromotionRule

Bundle your dependencies and run the installation generator:

bundle
bundle exec rails g spree_promotion_roles_rule:install

Copyright (c) 2013 Træls, released under the New BSD License

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages