solidus
solidus copied to clipboard
Create Spree::SimpleOrderContents
Summary
Spree::OrderContents interacts heavily with the current promotion system. This adds a new Spree::SimpleOrderContents
class that we can use once all the core functionality and specs for the legacy promotion system are migrated to solidus_legacy_promotions
.
We're keeping Spree::OrderContents
though, with the intention of moving it to solidus_legacy_promotions
in the future.
Extracted from #5634
Checklist
Check out our PR guidelines for more details.
The following are mandatory for all PRs:
- [x] I have written a thorough PR description.
- [x] I have kept my commits small and atomic.
- [x] I have used clear, explanatory commit messages.