Skip to content
This repository was archived by the owner on Mar 14, 2023. It is now read-only.

Introduces user groups and calculator to add adjustment for specified user group

License

Notifications You must be signed in to change notification settings

cahein/spree_user_groups

 
 

Repository files navigation

NOTE: SpreeCommerce moved on as a headless open-source eCommerce platform. This extension was only tested with Spree up to version 3.6.

SpreeUserGroups

Introduces user groups and custom calculators to add price adjustment for specified user group.

Installation

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:install

Testing

First 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 rake

When 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

About

Introduces user groups and calculator to add adjustment for specified user group

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 76.2%
  • HTML 21.8%
  • Other 2.0%