NOTE: SpreeCommerce moved on as a headless open-source eCommerce platform. This extension was only tested with Spree up to version 3.6.
Introduces user groups and custom calculators to add price adjustment for specified user group.
Add the spree_user_groups extension to your Gemfile:
gem 'spree_user_groups', :git => 'https://github.com/cahein/spree_user_groups.git', :branch => "master"Bundle your dependencies and run the installation generator:
bundle install
bundle exec rails g spree_user_groups:installFirst bundle your dependencies, then run rake. rake will default to building the dummy app if it does not exist, then it will run specs. The dummy app can be regenerated by using rake test_app.
bundle
bundle exec rakeWhen testing your applications integration with this extension you may use it's factories. Simply add this require statement to your spec_helper:
require 'spree_user_groups/factories'Copyright (c) 2011-2015 Roman Smirnov, released under the New BSD License