How to change the title text on the Magento sales email?

How to change the title text on the Magento sales email?

July 18, 2026 · Illustrated author avatarBy Stefan Bogdanescu
How to change the title text on the Magento sales email?

Changing the Title Text on Magento Sales Email

Managing your Magento store involves keeping customers informed about their orders through email notifications. Occasionally, you might want to customize these emails to reflect your brand more accurately. In this post, we’ll guide you through changing the title text and other relevant content in your sales emails.

Understanding the Current Setup

By default, when a new order is placed on your Magento store, an automated email notification is sent to the customer with a subject line that includes the store name followed by “New Order # Order ID”. The format looks like this:

Main Website Store: New Order # 100000016

Changing the Main Website Store Name

To change the “Main Website Store” text to reflect your actual store name, you’ll need to update the default configuration of your Magento website. Here’s how:

  1. Log in to the Magento admin panel.

  2. Navigate to Stores > Configuration.

  3. In the left sidebar menu under General, click on General > Design.

  4. Scroll down to the Website section and select your website from the drop-down list.

  5. Look for the field labeled Default Title and enter your desired store name in this field.

  6. Click Save Config at the top right corner of the page.

This change will update the title that appears in the subject line of all order-related emails sent to customers.

Customizing the Email Template

In addition to changing the store name, you might want to customize other parts of the email content. Magento allows you to modify its default order confirmation template using XML layout updates and custom PHTML files.

To start, locate the “sales_email_order_template” XML file in your theme directory (usually under app/design/frontend/your_vendor/your_theme/Magento_Sales/view/frontend/layout). This file controls the layout of the email content. You can add or modify elements within this file to change the text and structure of your emails.

Remember, any changes you make will only apply to the current theme. If you want these changes to persist across all themes on your site, you’ll need to update the corresponding XML files in each theme directory.

A Final Word

Customizing Magento’s email templates can significantly enhance the customer experience by providing more personalized and brand-compliant communication. However, it requires a good understanding of XML layout updates and PHTML file manipulation, which are core Magento development concepts.

If you find this task too complex or time-consuming, consider using third-party extensions that provide easy-to-use interfaces for email template customization. Services like Laravel Company’s Magento support can help with these advanced modifications as well.

Remember, consistency is key in branding. Ensure your order emails match the tone and style of your website and other customer communication channels to create a seamless shopping experience.

Happy customizing!

Themes Admin Configuration Email

Our network