Skip to content

goodylabs/spree_recently_bought

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SpreeRecentlyBought

Introduction goes here.

Installation

Add spree_recently_bought to your Gemfile:

gem 'spree_recently_bought'

Bundle your dependencies and run the installation generator:

bundle
bundle exec rails g spree_recently_bought:install

Configuration

Add below lines to application.rb

    # for spree recently bought  extension - number of products showed on customer account page
    config.list_size_spree_recently_bought = 4

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 rspec spec

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_recently_bought/factories'

Copyright (c) 2013 [name of extension creator], released under the New BSD License

About

Spree extension that shows recently bought products on customer account page

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors