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

Allow order creation without a shipping address when a collection shipping option has been selected #1745

Merged
merged 3 commits into from
May 22, 2024

Conversation

tvlokven
Copy link
Contributor

Currently, a shipping address is always required if a Cart is "shippable", i.e. when it contains physical products. However, when a customer chooses to pick up an order, rather than having it delivered, a shipping address should not be required.

Copy link

vercel bot commented May 14, 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 May 22, 2024 10:01pm

@alecritson
Copy link
Collaborator

Thanks @tvlokven Are you able to provide a test to prove this is working as intended? :)

@tvlokven
Copy link
Contributor Author

Thanks @tvlokven Are you able to provide a test to prove this is working as intended? :)

@alecritson Yes of course, I added tests for the different scenarios.

@glennjacobs glennjacobs merged commit 35687ad into lunarphp:1.x May 22, 2024
21 checks passed
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

3 participants