Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 553 Bytes

README.md

File metadata and controls

27 lines (17 loc) · 553 Bytes

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:

     gem "spree_store_credits"
     gem "spree_affiliate"
    
  2. Run bundle install

  3. Run install rake task for all extensions:

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

Testing

bundle exec rake test_app