This gem is a fork of spree_address_book. This fork adds significant new features, including:
- Awesome admin UI for editing and assigning addresses on orders and users
- Improved address selection UI during checkout
- Improved address editing on the user account page
- Address deduplication to help prevent a proliferation of addresses
- Lots and lots of tests (though there are still no doubt dark corners in the code)
This gem still uses the address_book
name for translations and
Spree::AddressBook::Config
for preferences, to make it easier to migrate from
a site using spree_address_book.
It is strongly recommended that you add indexes to your spree_users
and
spree_orders
tables on the bill_address_id
and ship_address_id
columns.
- Run
bundle install
- Run
apt-get install phantomjs
(or perhapsbrew install phantomjs
for Mac) - Run
bundle exec rake test_app
- Run
bundle exec rake
orbundle exec rspec
-
Add Spree Address Management to your Gemfile:
gem 'spree_address_management', git: '[email protected]/deseretbook/spree_address_management.git'
-
Run the gem's generator (untested):
bundle install rails g spree_address_management:install
Spree Address Book -- Copyright (c) 2011-2012 Roman Smirnov, released under the New BSD License
Spree Address Management -- Copyright (C) 2015 Deseret Book and contributors, released under the New BSD License