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

[6.x] Use authenticated user as customer #961

Merged
merged 1 commit into from Jan 2, 2024

Conversation

duncanmcclean
Copy link
Owner

@duncanmcclean duncanmcclean commented Jan 2, 2024

This PR implements a change in behaviour when the following conditions are true:

Until now, in this situation, nothing happened. You would have to manually set the customer to be the current user.

However, with this PR, you'll no longer have to do that. Simple Commerce will pick up the fact the customer should be the currently logged in user & update the order like so whenever you submit any of the {{ sc:cart }} or {{ sc:checkout }} forms.

Related: #946

@duncanmcclean duncanmcclean merged commit 7c82a1c into main Jan 2, 2024
9 checks passed
@duncanmcclean duncanmcclean deleted the feature/use-authenticated-user-as-customer branch January 2, 2024 15:10
Copy link

Released as part of v6.0.0.

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

1 participant