craftcms / craftcms/docs

[Content]: `orderCompletedEmail` added to `Order` element

Open
#508 0 comments 0 reactions 2 assignees View on GitHub

@AugustMiller is already working on this.

Since Jun 15, 2023.

💳 Commerce
Dominant language
JavaScript
Stars
42
Forks
160
Avg merge
3h 9m
Merged PRs (30d)
4

Description

Product

Commerce

Description

In the upcoming release of Commerce the Order element is getting a new property of orderCompletedEmail this property is populated when an order completes. It is a snapshot of the customer's email at this moment in time. This property is essentially "information-only" in the fact that it is not used for any of the email sending functions or anything.

As part of this change email address on the order is now kept in sync with when a user edits their email address. Previously there was some "lag" with this which was causing redundant inactive users to be created and causing potential issues with email addresses becoming "reserved".

Related PR craftcms/commerce#3180

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.