Spree

Gem Version

Installing the Rejoiner Spree Gem

  1. Add this extension to your Gemfile with this line:
gem 'spree_rejoiner', '~> 1.0.1'
  1. Install the gem using Bundler:
bundle install
  1. Copy & run migrations
bundle exec rails g spree_rejoiner:install
  1. 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.