solidus
https://github.com/solidusio/solidus
Ruby
🛒 Solidus, the open-source eCommerce framework for industry trailblazers.
Spree::FulfilmentChanger#handle_stock_counts?
We don't need to handle stock counts for incomplete orders. Also, if the new shipment and the desired shipment will ship from the same stock location, unstocking and restocking will not be necessary.
Edit
git clone [email protected]:solidusio/solidus.git
cd solidus
open core/app/models/spree/fulfilment_changer.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Spree--FulfilmentChanger-handle_stock_counts--for-pr
# Commit to gitgit add core/app/models/spree/fulfilment_changer.rbgit commit -m "better docs for Spree::FulfilmentChanger#handle_stock_counts?"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Spree--FulfilmentChanger-handle_stock_counts--for-pr
hub pull-request
# Celebrate!