solidus icon indicating copy to clipboard operation
solidus copied to clipboard

Configurable promotion adjuster

Open mamhoff opened this issue 1 year ago • 0 comments

Summary

This adds an extension point for a configurable promotion adjuster to the app configuration, and uses that extension point to point to a new Spree::Promotion::LegacyAdjuster. This LegacyAdjuster does all the things that the order updater in conjunction with the Spree::Adjustment class was doing.

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.

The following are not always needed (~cross them out~ if they are not):

  • [x] I have added automated tests to cover my changes.
  • [ ] ~I have attached screenshots to demo visual changes.~
  • [ ] ~I have opened a PR to update the guides.~
  • [ ] ~I have updated the readme to account for my changes.~

mamhoff avatar Jul 22 '22 14:07 mamhoff