batamire / solidus_favorites

Solidus Favorite Products is an extension that allows the user to mark/unkmark a product as favorite from the product page

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SolidusFavorites

Circle CI

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.

Installation

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

Preview

Testing

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

About

Solidus Favorite Products is an extension that allows the user to mark/unkmark a product as favorite from the product page

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Ruby 64.3%Language:HTML 24.8%Language:JavaScript 7.8%Language:CSS 3.2%