Skip to content
Sort and search extension for spree.
Ruby
Pull request Compare This branch is 13 commits ahead of edmundo:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
app
config
lib/tasks
spec
LICENSE
README.markdown
Rakefile
search_extension.rb

README.markdown

Search

This is an extension that adds sort and search support for products inside Spree. This extension works only with Spree 0.9.x.

Install

  script/extension install git://github.com/romul/spree-search.git

Actual state

Production ready. Updated to work with the latest i18n code.

Functionality

It includes basic name search that is suggested to be putted in the main layout. It can be used through the main page or inside a taxon. It can be tested using the following route: /search/test

It includes extended search based on some criteria like name, price and classification it is directly in or below it. It can be tested using the following route:

/searches/new

It has basic sort support for products, by default the only view that has it working is the result of the extended search, but it can be included in all the rest of the application including the main view and the view by current taxon.

or test the following route:

/price/filter/0

for only price filtering.

gems needed

activerecord-tableless searchlogic >= 2.3.3

Screenshots

Samples to show what you can do with it, (layout customization is not included).

Simple search

Sort support

Advanced search

Something went wrong with that request. Please try again.