⚠️ Deprecation notice ⚠️
Since Spree 4.0 this extension is deprecated and not needed. Address Book was merged into Spree core in Spree 4.0.
Spree Address Book
This extension allows registered users to have multiple shipping & billing addresses and select each of them on checkout.
Installation
- Add this extension to your Gemfile with this line:
Spree >= 3.1
gem 'spree_address_book', github: 'spree-contrib/spree_address_book'
Spree 3.0 and Spree 2.x
gem 'spree_address_book', github: 'spree-contrib/spree_address_book', branch: 'X-X-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
- Copy & run migrations
bundle exec rails g spree_address_book:install
- Restart your server
If your server was running, restart it so that it can find the assets properly.
Contributing
If you'd like to contribute, please take a look at the instructions for installing dependencies and crafting a good pull request.
License
Copyright (c) 2011-2016 Roman Smirnov & contributors, released under the New BSD License