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.
Edit
git clone [email protected]:solidusio/solidus.git
cd solidus
open core/lib/spree/app_configuration.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Spree--AppConfiguration-inventory_cache_threshold--for-pr
# Commit to gitgit add core/lib/spree/app_configuration.rbgit commit -m "better docs for Spree::AppConfiguration#inventory_cache_threshold="
# Open pull requestgem 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!