-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Only set promo configuration to legacy if no other set #5928
Only set promo configuration to legacy if no other set #5928
Conversation
07f7f78
to
b5688a6
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5928 +/- ##
==========================================
+ Coverage 87.81% 89.54% +1.72%
==========================================
Files 476 782 +306
Lines 11656 17988 +6332
==========================================
+ Hits 10236 16107 +5871
- Misses 1420 1881 +461 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we remove the white space changes?
This sets the promotion configuration to the legacy promotion system if no other promotion system, like `solidus_promotion` has been configured in the `spree` initializer. This should get rid of errors people encounter when trying to use `solidus_promotions`, but the system being reconfigured without their intervention to use the legacy system.
a8c4c64
to
f4d24f2
Compare
Backport after #6016 |
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation and see the Github Action logs for details |
This sets the promotion configuration to the legacy promotion system if no other promotion system, like
solidus_promotion
has been configured in thespree
initializer.This should get rid of errors people encounter when trying to use
solidus_promotions
, but the system being reconfigured without their intervention to use the legacy system.Here's the problem this should solve:
Checklist
Check out our PR guidelines for more details.
The following are mandatory for all PRs: