Skip to content

Changed product-taxon relationship to has many through to allow for ordering within a taxon

License

Notifications You must be signed in to change notification settings

GeekOnCoffee/spree_product_sort

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spree Product Sort

Simple extention to sort products within a taxon & global index.

It works by creating a new DB table to store the product positions for each taxon, and adding an admin view that lets you drag-and-drop them into place.

Based on: https://github.com/jdevine/spree-ordering-in-taxons

Add gem

gem 'spree_product_sort', :git => 'git://github.com/GeekOnCoffee/spree_product_sort.git'
bundle install

Add Migration and assets

rails g spree_product_sort:install

About

Changed product-taxon relationship to has many through to allow for ordering within a taxon

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 96.4%
  • CSS 3.6%