70 likes | 146 Views
Customers can mark/unmark their favorite Products enabling admin to view the same and strategize marketing around customer choices.<br>
E N D
SpreeCommerceFavorite Products Vinsol.com
Marking a product as favorite is creating a collection of products you like and might want to buy in future. Obviously it's super convenient as you don't have to search from thousands of products each time you want to have a look at or buy something from your own personal favorites.
Our SpreeCommerceFavorite Products Extension adds the following features to a SpreeCommerce store : • Ability for the customer to 'Mark a product as favorite' on product detail page. • FavoriteProducts tab on header of the fronted store • FavoriteProducts tab in administrator section for the store owner to view favorites of all customers. It is an open source extension. Following are the steps to install, test and contribute for improvement and/or expansion.
Installation Add spree_favorite_products to your Gemfile: - gem 'spree_favorite_products', github: 'vinsol/spree_favorite_products', branch: '3-0-stable' For older versions of spree # Spree 2.2.x - gem 'spree_favorite_products', '2.2.3' # Spree 2.2.x - gem 'spree_favorite_products', '2.0.3' # Spree 2.2.x - gem 'spree_favorite_products', '1.0.0' Bundle your dependencies and run the installation generator: # Spree 2.1.x - bundle exec rail g 'spree_favorite_products:install
Testing Be sure to bundle your dependencies and then create a dummy test app for the specs to run against. - bundle - bundle exec rake test_app - bundle exec rspecspec When testing your applications integration with this extension you may use it's factories. Simply add this require statement to your spec_helper: - require 'spree_favorite_products/factories'
Contributing • Fork the repo. • Clone your repo. • Run bundle install. • Run bundle exec rake test_app to create the test application in spec/test_app. • Make your changes. • Ensure specs pass by running bundle exec rspec spec. • Submit your pull request. You can access the code here. follow us on twitter for more updates.
Summary • Customers can mark/unmark their favorite Products enabling admin to view the same and strategize marketing around customer choices. • See more at - http://vinsol.com/spreecommerce-favorite-products