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.
-
Add to Gemfile:
gem "spree_store_credits" gem "spree_affiliate"
-
Run
bundle install
-
Run install rake task for all extensions:
rake spree_store_credits:install rails g spree_affiliate:install
-
Run
rake db:migrate
bundle exec rake test_app