A Spree 3.0 extension to repeat the last order in a single click of button
- Add this extension to your Gemfile with this line:
gem 'spree_reorder', github: 'spkprav/spree_reorder', branch: '3-0-stable'
The branch
option is important: it must match the version of Spree you're using.
For example, use 3-0-stable
if you're using Spree 3-0-stable
or any 3.0.x
version.
- Install the gem using Bundler:
bundle install
- Restart your server
If your server was running, restart it so that it can find the assets properly.