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.
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: https://github.com/duncanmcclean/simple-commerce/discussions/946