public
Description: Sort and search extension for spree.
Homepage:
Clone URL: git://github.com/edmundo/spree-search.git
name age message
file LICENSE Thu Oct 23 13:36:17 -0700 2008 Added licensing information and basic description. [edmundo]
file README.markdown Loading commit data...
file Rakefile Fri Jan 16 11:33:29 -0800 2009 Changed the code from place, putting inside app. [edmundo]
directory app/
directory config/
directory lib/ Thu Oct 23 12:40:31 -0700 2008 First commit. [edmundo]
file search_extension.rb
directory spec/ Thu Nov 06 08:36:45 -0800 2008 Renames the advanced search parameter to not cl... [edmundo]
README.markdown

Search

This is an extension that adds sort and search support for products inside Spree.

Install

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

You need to uncomment two methods (that builds the products collection) on search_extension.rb to make simple search work.

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 a layout. It can be used in 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.

gems needed

activerecord-tableless

Code inside app to be mixed

I'm not using code inside the ..._extension.rb file using class_eval anymore, look at the last commits here http://github.com/edmundo/spree/tree/app_override to make the code inside app used in this extension be mixed automatically.

Screenshots

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

Simple search

Sort support

Advanced search