solidus
https://github.com/solidusio/solidus
Ruby
🛒 Solidus, the open-source eCommerce framework for industry trailblazers.
Spree::Order#ensure_updated_shipments
Clean shipments and make order back to address state At some point the might need to force the order to transition from address to delivery again so that proper updated shipments are created. e.g. customer goes back from payment step and changes order items
Edit
git clone [email protected]:solidusio/solidus.git
cd solidus
open core/app/models/spree/order.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Spree--Order-ensure_updated_shipments-for-pr
# Commit to gitgit add core/app/models/spree/order.rbgit commit -m "better docs for Spree::Order#ensure_updated_shipments"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Spree--Order-ensure_updated_shipments-for-pr
hub pull-request
# Celebrate!