solidus
https://github.com/solidusio/solidus
Ruby
🛒 Solidus, the open-source eCommerce framework for industry trailblazers.
Spree::Order.register_line_item_comparison_hook
Use this method in other gems that wish to register their own custom logic that should be called when determining if two line items are equal.
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-register_line_item_comparison_hook-for-pr
# Commit to gitgit add core/app/models/spree/order.rbgit commit -m "better docs for Spree::Order.register_line_item_comparison_hook"
# 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-register_line_item_comparison_hook-for-pr
hub pull-request
# Celebrate!