sbounmy / spree_affiliate

Home Page:http://spreecommerce.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spree Affiliate

Allows customers to refer friends and earn store credit for each user who registers and/or orders.

You can also give store credit to the refered friends on signup and after first order.

Installation

  1. Add to Gemfile:

     # Spree 1-2-stable
     gem 'spree_store_credits', :git => "git://github.com/sbounmy/spree_store_credits.git", :branch => "1-2-stable"
     gem "spree_affiliate", :git => "git@github.com:sbounmy/spree_affiliate.git", :branch => "1-2-stable"
    
     # Spree master (1.3)
     gem 'spree_store_credits', :git => "git://github.com/sbounmy/spree_store_credits.git", :branch => "master"
     gem "spree_affiliate", :git => "git@github.com:sbounmy/spree_affiliate.git", :branch => "master"
    
  2. Run bundle install

  3. Run install rake task for all extensions:

     rake spree_store_credits:install:migrations
     rails g spree_affiliate:install
    
  4. Run rake db:migrate

Testing

bundle exec rake test_app

About

http://spreecommerce.com

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Ruby 99.4%Language:CSS 0.3%Language:JavaScript 0.3%