Skip to content

Ensure BuyXGetY pushes itself to $cart->discounts#2418

Merged
alecritson merged 3 commits intolunarphp:1.xfrom
ryanmitchell:fix/buy-x-get-y-logging-users
Mar 30, 2026
Merged

Ensure BuyXGetY pushes itself to $cart->discounts#2418
alecritson merged 3 commits intolunarphp:1.xfrom
ryanmitchell:fix/buy-x-get-y-logging-users

Conversation

@ryanmitchell
Copy link
Copy Markdown
Contributor

We noticed that BuyXGetY discounts don't log uses in discount_users as the discount never marks itself in $cart->discounts.

This PR adds the line necessary to make it happen.

@alecritson alecritson self-requested a review March 30, 2026 13:53
@alecritson alecritson merged commit 0d1865f into lunarphp:1.x Mar 30, 2026
44 checks passed
@github-project-automation github-project-automation bot moved this from Todo to Done in Roadmap Mar 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants