solidus

https://github.com/solidusio/solidus

Ruby

🛒 Solidus, the open-source eCommerce framework for industry trailblazers.

Spree::TaxonsHelper#taxon_preview

Retrieves the collection of products to display when "previewing" a taxon.  This is abstracted into a helper so
that we can use configurations as well as make it easier for end users to override this determination.  One idea is
to show the most popular products for a particular taxon (that is an exercise left to the developer.)

Source | Google | Stack overflow

Edit

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

cd solidus

open core/app/helpers/spree/taxons_helper.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Spree--TaxonsHelper-taxon_preview-for-pr


# Commit to git

git add core/app/helpers/spree/taxons_helper.rbgit commit -m "better docs for Spree::TaxonsHelper#taxon_preview"


# 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--TaxonsHelper-taxon_preview-for-pr

hub pull-request


# Celebrate!