Update the Order confirmation email notification

If your store uses customized notification templates, then you might need to update your Order confirmation notification manually to ensure that it works with Shopify Tax.

These changes require familiarity with the code that is used in Shopify's notification templates. If your templates are highly customized and you're not sure how to apply the necessary changes, then contact the developer that made the changes or click Revert to default to restore your template to its original state. Reverting to default removes any customizations you have made, but reverting to default ensures that your templates are the most current version.

Before you make any changes, back up your template by copying and pasting it into another document, such as Google Docs. After you make changes, click Preview to review your changes and ensure that they function as expected before you click Save.

Steps:

  1. In your Shopify admin, go to Settings > Notifications > Order confirmation.
  2. Locate the section of code that begins with <span>Tip</span>.
    1. Find the code snippet {% unless transaction.kind == "capture" or transaction.kind == "void" %}. In the default template, this snippet occurs on line 393.
    2. Change the code to {% unless transaction.kind == "authorization" or transaction.kind == "void" %}.
    3. Click Save.
  3. Locate the section of code that begins with <span>Total</span>.
    1. Find the code snippet {% if transaction.status == "success" and transaction.kind == "authorization" or transaction.kind == "sale" %}. In the default template, this snippet occurs on line 456.
    2. Change the code to {% if transaction.status == "success" and transaction.kind == "capture" or transaction.kind == "sale" %}.
    3. Click Save.
  4. Locate the section of code that begins with <h4>Shipping method</h4>.
    1. Find the code snippet {% if transaction_count > 0 %}. In the default template, this snippet occurs on line 555.
    2. Change the code to {% if transaction_size > 0 %}.
    3. Click Save.
  5. Locate the section of code that begins with <h4>Payment method</h4>.
    1. Find the code snippet {% if transaction.kind == "authorization" or transaction.kind == "sale" %}. In the default template, this snippet occurs on line 560.
    2. Change the code to {% if transaction.kind == "capture" or transaction.kind == "sale" %}.
    3. Click Save.
  6. Optional: Preview your changes by clicking Preview.
  7. Click Save.
Can’t find the answers you’re looking for? We’re here to help.