This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
commit 265df13f62eeec0641d18ac32cc5e4102d49d429
tree 1edb3c230ebe920b9b37912ef5d68b821f2a0b5f
parent bd77d5e457514d827d14bfb983b362d8d1d327de
tree 1edb3c230ebe920b9b37912ef5d68b821f2a0b5f
parent bd77d5e457514d827d14bfb983b362d8d1d327de
| name | age | message | |
|---|---|---|---|
| |
README.markdown | ||
| |
Rakefile | ||
| |
app/ | ||
| |
config/ | ||
| |
db/ | ||
| |
lib/ | ||
| |
recommendations_extension.rb | ||
| |
spec/ |
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?








