Skip to content
This repository has been archived by the owner on Apr 17, 2020. It is now read-only.

spree-contrib/spree_address_book

Repository files navigation

⚠️ 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

Build Status Code Climate

This extension allows registered users to have multiple shipping & billing addresses and select each of them on checkout.

Installation

  1. 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.

  1. Install the gem using Bundler:
bundle install
  1. Copy & run migrations
bundle exec rails g spree_address_book:install
  1. 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