Skip to main content
HomeBlogGuidesHow to Set Up and Customize Order Confirmation Emails in Magento 2

How to Set Up and Customize Order Confirmation Emails in Magento 2

17TRACK

To set up order confirmation emails in Magento 2, enable the New Order email under Stores > Configuration > Sales > Sales Emails, select a sender and template, then place test orders to confirm the messages arrive. To customize the content, create an email template in the Admin and assign it to the appropriate store view. Test both registered-customer and guest checkout: Magento provides separate template selections for them.

How to Set Up and Customize Order Confirmation Emails in

The instructions below apply to Magento 2 and Adobe Commerce installations with the standard Admin configuration. Menu labels can vary slightly by version or customization, but the distinction between configuring email delivery and editing email content remains the same.

Before you change the email

Decide which store view needs the change and what the confirmation should tell a customer. An order confirmation acknowledges that an order was placed; it should not imply that the order has shipped or that payment has cleared unless your checkout and payment workflow reliably establish those facts.

Gather the sender name and address you want customers to see, approved support contact details, and any wording that must differ by store view. If you plan to change the design, keep a copy of the existing template or record its configuration before replacing it. Also confirm that you can place test orders without disrupting live fulfillment.

Enable and configure new-order emails

  1. In the Admin, go to Stores > Configuration > Sales > Sales Emails.
  2. Use the store-view selector to choose the scope you intend to configure. If you are changing a store-view setting, clear Use Default or Use Website where applicable so your selection can be saved at that scope.
  3. Expand the Order section and set Enabled to Yes.
  4. Choose the New Order Confirmation Email Sender. Review the corresponding sender identity under Stores > Configuration > General > Store Email Addresses so customers see an appropriate name and address.
  5. Select a New Order Confirmation Template for registered customers and a New Order Confirmation Template for Guest for guest checkout. You can start with the default templates and replace them after creating customized versions.
  6. If your operations team needs a copy, review the Send Order Email Copy To and Send Order Email Copy Method settings. A copy sent to your team is not a substitute for verifying that the customer receives the message.
  7. Click Save Config. Follow any cache-management notice shown by the Admin, then test the result.

Check the scope before troubleshooting a setting that appears to revert. A value saved for one store view may not be the value used by a test order placed through another. Likewise, editing a template does not automatically assign it to every store view.

Create a customized email template

For a content change that a store administrator can manage in the Admin, create a separate template rather than editing application files. Go to Marketing > Communications > Email Templates and choose Add New Template. In Template, load the appropriate new-order default template, then give the new template a name that identifies its store view and audience. Edit the subject and body, preview the result, and save it.

Return to Stores > Configuration > Sales > Sales Emails > Order and select the saved template. If guest customers should receive the same revised wording, check the guest template separately. The guest and registered-customer defaults need not contain identical account-related information, so copying content from one to the other without review can create confusing instructions.

What to change—and what to preserve

Start with customer-facing details: a recognizable subject line, a clear acknowledgement, the order reference, useful support information, and an explanation of what happens next. Make the wording match your actual order-processing workflow. For example, use “We have received your order” if fulfillment or payment review may still be pending; avoid promising a dispatch date you cannot substantiate.

Be careful with template variables and directives. Magento email templates can include dynamic order information, a store email header and footer, and rendered order items. Removing a directive simply because it looks technical may remove information the customer needs. Use the template’s available-variable controls and the loaded default as your starting points; variable availability can depend on the template and installation. Preview after each substantial edit, then verify the rendered result with a real test order. A preview alone cannot confirm every value that will appear for an actual customer.

Write for an email inbox, not just the Admin editor. Keep the most useful information near the top, use descriptive link text, and make support details readable on a phone. If you add promotional content, keep it secondary to the receipt and order details. Do not put confidential payment data into the template or assume a customer’s email client will display externally hosted images.

Choose the right method for deeper design changes

Admin templates are usually the practical choice for copy, subject lines, and modest layout adjustments. If you need a maintainable change across multiple stores or substantial control over markup, involve a Magento developer and use a custom frontend theme or module rather than editing vendor files directly. Adobe’s email-template developer documentation describes theme-based customization and the relationship between template markup and email styling.

Plan that work as a code change: keep it in version control, deploy it through your normal release process, and test after deployment. A theme override and an Admin-created template can interact through configuration, so document which template is selected for each store view. This avoids a common debugging problem: changing a theme file while the store is actually configured to use a separately saved Admin template.

If the design includes a logo, review the store’s transactional email design settings and check the image in delivered messages. An image that appears in a browser preview may still be blocked by an email client. The sender, subject, and plain-language order details should make sense without it.

Test the full checkout-to-inbox flow

Run at least one guest checkout test and one registered-customer test for each affected store view. Use inboxes you can access, and verify the message itself rather than relying only on an order appearing in the Admin. For stores with different currencies, languages, addresses, or tax displays, include representative orders that expose those differences.

  • Delivery: Did the message arrive, and was it placed in the inbox, spam folder, or neither? Check the visible sender and reply address.
  • Accuracy: Does the order reference match the order? Are the customer name, items, totals, addresses, and store-specific wording correct?
  • Presentation: Does the subject make sense? Are links usable, text legible on mobile, and essential details understandable when images are blocked?
  • Workflow: Does the email describe the order’s actual stage? Is it distinct from any later invoice or shipment email?
  • Scope: Did the right template appear for the store view and for both guest and registered checkout?

Keep a record of the order number, store view, checkout type, expected template, and observed result. That small test log makes it easier to tell a template-selection problem from a delivery problem.

If confirmation emails are missing

Diagnose the failure in stages. First, confirm that the order was created in the store and that Order > Enabled is set to Yes at the scope used for the checkout. Check the selected sender and both template fields. If only guest or only registered customers are affected, focus on the relevant template selection and checkout path rather than treating all email as broken.

Next, distinguish generation from delivery. Check the receiving mailbox’s spam folder and any delivery logs or mail-service diagnostics available for your installation. If asynchronous sending is enabled in the Sales Emails general settings, confirm that Magento cron is running correctly; queued messages may not be sent promptly when cron is not executing. If messages are being sent but not delivered, review the server or email-service configuration and the domain’s email authentication with whoever manages your mail infrastructure. Changing template wording will not fix an outbound mail failure.

Finally, recheck recent customizations. A malformed directive or removed order-items block can cause missing content even when a message arrives. Restore the previously working template if needed, then reintroduce changes in small steps. The goal is not merely to make an email send: it is to give customers an accurate record of what they ordered and a clear next step if they need help.

FAQ

Can I use a different order confirmation email for guest customers?

Yes. The Order configuration provides separate template selections for the standard new-order email and the guest new-order email. Test both checkout types after assigning custom templates.

Why does my edited template not appear in the test email?

Check that the saved template is selected in the Order email configuration for the store view used by the test. Also check whether you edited the registered-customer template but tested guest checkout, or vice versa. A saved template is not automatically selected for every store view.

Does an order confirmation mean an order has shipped?

No. A new-order confirmation acknowledges the order event. Shipment communication is a separate part of the order workflow. Keep confirmation wording neutral if payment review, stock checks, or fulfillment steps remain.

Should I edit Magento’s default template files directly?

Avoid changing vendor files directly. For copy changes, create and select an Admin email template. For code-managed design changes, use a custom theme or module so the work can be reviewed, deployed, and maintained.

What should I check when orders exist but customers receive no email?

Check the Order email setting and store-view scope first. Then check whether asynchronous sending is enabled and cron is running, followed by your installation’s outbound mail and delivery diagnostics. Test guest and registered checkout separately to narrow down the cause.

Sources