public
Fork of paulcc/spree-recommendations
Description: Various ways to draw customers' attention to other products
Homepage:
Clone URL: git://github.com/bryanmtl/spree-recommendations.git
bryanmtl (author)
Wed Jun 24 11:17:31 -0700 2009
commit  265df13f62eeec0641d18ac32cc5e4102d49d429
tree    1edb3c230ebe920b9b37912ef5d68b821f2a0b5f
parent  bd77d5e457514d827d14bfb983b362d8d1d327de
README.markdown

Spree Recommendations

Intro

Adaptation of BDQ's accessories extension to give a similar notion of recommendations which can be set by the administrator

Defaults to a random set of (n = 3) items, drawing more from the product's taxon if insufficient recommendation entries are available

Using this extension

No views included here: basically, you should be using some of your own short-detail product listing code for this.

Spree has a +shared/products+ partial, so you can feed in a list of recommendations to show, eg have something like this on your product show page:

<%= render :partial => "shared/products.html.erb", :locals => {:products => random_recommendations(@products, 4), :taxon => @taxon } %>

Future plans

  • Adding a "customers also bought" method, derived by order analysis (soon)
  • Tie into rating system?
  • Frequent joint purchases?