Emailing order status updates

When you confirm or ship orders, your customers can automatically receive an email that links them to their order status page. To automatically include a link to the order status page in shipping and order emails, complete the following steps.

Step 1: Set up your email templates

Email templates control the information that's sent to customers. You can use Shopify'sdefault email templates, or custom email templates. The following email templates can include a link to the order status page:

  • Order confirmation
  • Shipping confirmation
  • Shipping update

建立这些电子邮件链接到您的自定义er's order status page, select the option that best describes you:

I haven't customized my order confirmation or shipping email templates

If you use Shopify'sdefault templates, then your email templates automatically include a link to your customer's order status page.

To add a tracking number, follow these steps:

  1. Add tracking numbers to your orders. The order status link is emailed to your customer automatically when you update orders with tracking numbers.
  2. Test the functionality.

Check if your email templates have been customized

  1. From your Shopify admin, go toSettings>Notifications.
  2. In theEmail templatessection, click theOrder confirmationemail template. If you have customized an email template, then there is aRevert to defaultbutton at the bottom of the template page.
  3. Repeat these steps for theShipping confirmationandShipping updateemail templates.

I have customized my email templates

Because you customized your order confirmation, shipping confirmation, or shipping update templates, Shopify can't include a link to the order status page in the emails.

To include a link to the order status page in a custom email template, do one of the following:

Manually add the order status URL to your email templates

To make sure that your order and shipping emails include the order status URL link for your customers, you can add some Liquid code to theShipping confirmation,Shipping update, andOrder confirmationtemplates.

Steps:

  1. From your Shopify admin, go toSettings>Notifications.
  2. Click the template that you want to edit to open it in the online editor.
  3. Find the following section if it exists:
For shipping status on these items:{%fortracking_urlinfulfillment.tracking_urls%}{{tracking_url}}{%endfor%}
  1. Replace it with the following:
Track the status of your order:{{order_status_url}}.

You can change this message to fit your brand. The only requirement is to copy (ctrl+Con a PC orcommand+Con a Mac) and paste (ctrl+Von a PC orcommand+Von a Mac) the{{ order_status_url }}code exactly as it appears here.

Step 2: Add a tracking number to an order

After your email templates are set up to send a link to the order status page, you need toadd tracking numbers to your orders.

Step 3: Test the functionality

After setting up your order status emails, test your checkout experience by placing atest order. This is important if you added any code to theAdditional scriptsbox or custom code from a third-party app.

Steps:

  1. Follow the instructions forplacing a test order. Use your email when checking out, and select a supported shipping carrier.
  2. From your Shopify admin,fulfill the orderandadd a tracking number to it.

If you use a third-party app and notice anything unusual, then there could be a conflict with custom code from a third-party app. Contact the app developer to resolve the issue. You can find their information by searching for the app's name in theShopify App Store.

Ready to start selling with Shopify?Try it free