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

coroutine/spree_product_sort

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 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 84.7%
  • HTML 12.1%
  • CSS 3.2%