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

[0.8] Fix some pruning issues #1537

Merged
merged 2 commits into from
Feb 9, 2024

Conversation

ryanmitchell
Copy link
Contributor

I noticed on our live sites that the approach to pruning merged carts was causing issues as it touched the updated_at date for any merged carts, which then triggered our cart abandonment emails.

This PR updates the prune command to ignore merged carts in the initial query, and then remove any merged carts associated with the current model as part of the deleting process. I think this is a better approach.

Copy link

vercel bot commented Feb 7, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
lunar-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 7, 2024 8:54am

@alecritson alecritson merged commit 68398b1 into lunarphp:0.8 Feb 9, 2024
13 checks passed
@ryanmitchell ryanmitchell deleted the fix/prune-touching-dates branch February 9, 2024 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants