Spree Recently Viewed
This extension maintains and displays a list of the products a user has recently viewed.
Add this extension to your Gemfile with this line:
gem 'spree_recently_viewed', github: 'spree-contrib/spree_recently_viewed', branch: 'X-X-stable'
branchoption is important: it must match the version of Spree you're using. For example, use
3-0-stableif you're using Spree
Install the gem using Bundler:
Copy & run migrations
bundle exec rails g spree:recently_viewed:install
Restart your server
If your server was running, restart it so that it can find the assets properly.
See corresponding guidelines