This extension provides customer an interface to track their 'Return History' and also allows them to create return authorizations.
- Adds a tab for a user to keep track of all his/her return authorizations.
- Provides user an ability to create a return authorization against an order.
gem 'spree_item_returns' , github: 'vinsol-spree-contrib/spree_item_returns'
$ bundle install
$ rails g spree_item_returns:install
$ rake db:migrate
$ rails s
- Go to Account -> 'Return History' Button. A list of all return made by users will be shown.
- User can select individual return and see it's details.
- Go to Account
- Open order which has return item.
- Click on 'Return Product' button.
- Select the product which need to be returned, and fill fields with appropriate data. And click on 'Create'
Here is a detailed article with screenshots on how does it work: http://vinsol.com/spreecommerce-items-return
Be sure to bundle your dependencies and then create a dummy test app for the specs to run against.
$ bundle
$ bundle exec rake test_app
$ bundle exec rspec spec
- Fork the project
- Make one or more well commented and clean commits to the repository. You can make a new branch here if you are modifying more than one part or feature.
- Add tests for it. This is important so I don’t break it in a future version unintentionally.
- Perform a pull request in github's web interface.