solidus

https://github.com/solidusio/solidus

Ruby

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

Spree::Base.display_includes

Provides a scope that should be included any time products
are fetched with the intention of displaying to the user.

Allows individual stores to include any active record scopes or joins
when products are displayed.

Source | Google | Stack overflow

Edit

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

cd solidus

open core/app/models/spree/base.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Spree--Base-display_includes-for-pr


# Commit to git

git add core/app/models/spree/base.rbgit commit -m "better docs for Spree::Base.display_includes"


# 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--Base-display_includes-for-pr

hub pull-request


# Celebrate!