Spree
Installing the Rejoiner Spree Gem
- Add this extension to your Gemfile with this line:
gem 'spree_rejoiner', '~> 1.0.1'
- Install the gem using Bundler:
bundle install
- Copy & run migrations
bundle exec rails g spree_rejoiner:install
- Restart your server
If your server was running, restart it so that it can find the assets properly.
Configuring the Rejoiner Spree Add-on
You will need to configure your Site ID in Admin under Configuration > Rejoiner Settings.
Optionally, you may configure a Domain that is used to store the Rejoiner Session ID cookie. This is only needed if you wish to share the Session ID between multiple subdomains. Otherwise, this extension will default to using document.location.hostname
.
Updated almost 4 years ago