Skip to content
Discussion options

You must be logged in to vote

Hey 👋

I've just did a little bit of testing and unfortunately, there's no way to update a customer's email address with the {{ sc:cart:update }} tag. When you provide a new email, it'll create a completely new customer.

I can't change this without introducing a breaking change but I'll take note for v6. We can probably make it so <input type="email" name="customer[email]"> updates the existing customer entry if the order already has a customer set.

In the meantime, there's two ways you could potentially workaround this limitation:

  • Use the {{ sc:customer:update }} tag (although, you can't use this inside another form)
  • Use a placeholder field, listen for the order being updated, then updat…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Umut-Schweiz
Comment options

Answer selected by Umut-Schweiz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants