solidus

https://github.com/solidusio/solidus

Ruby

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

Spree::AppConfiguration#inventory_cache_threshold

Only invalidate product caches when the count on hand for a stock item
falls below or rises about the inventory_cache_threshold.  When undefined, the
product caches will be invalidated anytime the count on hand is changed.

Source | Google | Stack overflow

Edit

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

cd solidus

open core/lib/spree/app_configuration.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Spree--AppConfiguration-inventory_cache_threshold-for-pr


# Commit to git

git add core/lib/spree/app_configuration.rbgit commit -m "better docs for Spree::AppConfiguration#inventory_cache_threshold"


# 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--AppConfiguration-inventory_cache_threshold-for-pr

hub pull-request


# Celebrate!