Skip to content
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

[v4.4] Add can apply to promotions #6024

Merged
merged 4 commits into from
Dec 6, 2024
Merged

[v4.4] Add can apply to promotions #6024

merged 4 commits into from
Dec 6, 2024

Conversation

github-actions[bot]
Copy link

@github-actions github-actions bot commented Dec 6, 2024

Backport

This will backport the following commits from main to v4.4:

Questions ?

Please refer to the Backport tool documentation

None of this works right now, but let's write a spec that details how
things should work.

(cherry picked from commit 6f93b21)
The promotion class should decide whether it can apply.

(cherry picked from commit d7bb895)
This duplicated the logic from
SolidusPromotions::Promotion.order_activatable, and this way it reads
nicer.

(cherry picked from commit 3588c15)
@github-actions github-actions bot requested a review from a team as a code owner December 6, 2024 13:28
@github-actions github-actions bot added the changelog:solidus_promotions Changes to the solidus_promotions gem label Dec 6, 2024
@tvdeyen tvdeyen enabled auto-merge December 6, 2024 13:48
@tvdeyen tvdeyen disabled auto-merge December 6, 2024 15:11
@tvdeyen tvdeyen merged commit 099fc05 into v4.4 Dec 6, 2024
11 of 12 checks passed
@tvdeyen tvdeyen deleted the backport/v4.4/pr-6013 branch December 6, 2024 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:solidus_promotions Changes to the solidus_promotions gem
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants