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?

Source | Google | Stack overflow

Edit

git clone [email protected]:solidusio/solidus.git

cd solidus

open core/lib/spree/core/product_filters.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Spree--Core--ProductFilters-all_taxons-for-pr


# Commit to git

git add core/lib/spree/core/product_filters.rbgit commit -m "better docs for Spree::Core::ProductFilters.all_taxons"


# Open pull request

gem 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!