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

Handle cart line update validation #1718

Merged
merged 2 commits into from
Apr 30, 2024

Conversation

alecritson
Copy link
Collaborator

Currently when validating the quantity when updating cart lines, we don't pass the purchasable so most of the validation actually gets skipped. This PR tries to handle if the purchasable is missing and act accordingly.

Copy link

vercel bot commented Apr 30, 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 Apr 30, 2024 2:23pm

@glennjacobs
Copy link
Contributor

I feel like we should have a test for this, as it's the cart logic.

@alecritson alecritson merged commit 503e489 into 1.x Apr 30, 2024
23 checks passed
@alecritson alecritson deleted the hotfix/fix-quantity-update-validation branch April 30, 2024 15:06
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.

None yet

2 participants