Skip to content

[v4.5] Remove adjustments from cart orders when promotion is discarded - #6563

Open
mamhoff wants to merge 2 commits into
solidusio:v4.5from
mamhoff:backport/v4.5/pr-6557
Open

[v4.5] Remove adjustments from cart orders when promotion is discarded#6563
mamhoff wants to merge 2 commits into
solidusio:v4.5from
mamhoff:backport/v4.5/pr-6557

Conversation

@mamhoff

@mamhoff mamhoff commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Backport

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

Questions ?

Please refer to the Backport tool documentation

Benefits need access to their promotion even when it's discarded to
properly handle cleanup and checks. This matches the pattern used in
OrderPromotion and PromotionCode associations.

(cherry picked from commit d57b042)

# Conflicts:
#	promotions/app/models/solidus_promotions/benefit.rb
#	promotions/spec/models/spree/line_item_spec.rb
@mamhoff
mamhoff requested a review from a team as a code owner August 28, 2026 08:57
@mamhoff mamhoff added backport-v4.5 Backport this pull-request to v4.5 backport-v4.6 Backport this pull-request to v4.6 backport-v4.7 Backport this pull-request to v4.7 changelog:solidus_promotions Changes to the solidus_promotions gem labels Aug 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-v4.5 Backport this pull-request to v4.5 backport-v4.6 Backport this pull-request to v4.6 backport-v4.7 Backport this pull-request to v4.7 changelog:solidus_promotions Changes to the solidus_promotions gem

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant