Solidus Favorite Products is an extension that allows the user to mark/unkmark a product as favorite from the product page.
- Admin can view which products have been marked as favorite, and by which users, on the Admin end.
- It gives user the ability to see all products marked as favorite by him/her.
- Allow user to add the products marked as favorite to cart.
Add solidus_favorites
to your Gemfile:
gem 'solidus_favorites'
Bundle your dependencies and run the installation generator:
bundle
bundle exec rails g solidus_favorites:install
First bundle your dependencies, then run rake
. rake
will default to building the dummy app if it does not exist, then it will run specs, and Rubocop static code analysis. The dummy app can be regenerated by using rake test_app
.
bundle
bundle exec rake
When testing your applications integration with this extension you may use it's factories. Simply add this require statement to your spec_helper:
require 'solidus_favorites/factories'
Copyright (c) 2019 [name of extension creator], released under the New BSD License