solidus
https://github.com/solidusio/solidus
Ruby
🛒 Solidus, the open-source eCommerce framework for industry trailblazers.
Spree::OrderMerger#find_matching_line_item
Retreive a matching line item from the existing order It will compare line items based on variants, and all line item comparison hooks on the order. `other_order` we are attempting to merge in. exist.
Edit
git clone [email protected]:solidusio/solidus.git
cd solidus
open core/app/models/spree/order_merger.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Spree--OrderMerger-find_matching_line_item-for-pr
# Commit to gitgit add core/app/models/spree/order_merger.rbgit commit -m "better docs for Spree::OrderMerger#find_matching_line_item"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Spree--OrderMerger-find_matching_line_item-for-pr
hub pull-request
# Celebrate!