solidus
https://github.com/solidusio/solidus
Ruby
🛒 Solidus, the open-source eCommerce framework for industry trailblazers.
Spree::Core::ProductFilters.all_taxons
Filtering by the list of all taxons Similar idea as above, but we don't want the descendants' products, hence it uses one of the auto-generated scopes from Ransack. idea: expand the format to allow nesting of labels?
Edit
git clone [email protected]:solidusio/solidus.git
cd solidus
open core/lib/spree/core/product_filters.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Spree--Core--ProductFilters-all_taxons-for-pr
# Commit to gitgit add core/lib/spree/core/product_filters.rbgit commit -m "better docs for Spree::Core::ProductFilters.all_taxons"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Spree--Core--ProductFilters-all_taxons-for-pr
hub pull-request
# Celebrate!