Why isn't my customized confirmation email displaying correctly?

Topic summary

Users are experiencing issues where customized Shopify order confirmation emails display correctly in preview mode but fail to show modifications when actually sent to customers via Gmail.

Key Problem:

  • Preview shows intended customizations
  • Actual emails sent to Gmail revert to standard template or display incorrectly
  • Changes include formatting and content modifications visible in code screenshots

Troubleshooting Attempts:

  • One user suggested Gmail threading might cause display issues (showing only differences between emails), recommending deletion of previous test emails
  • Checking conditional logic in templates ({% if %} statements) that might prevent changes from rendering
  • Verifying the correct email template is being edited
  • Considering potential cache delays

Current Status:

  • Deleting previous emails did not resolve the issue
  • Multiple users report the same problem, suggesting a systemic issue
  • One user questions whether installed Shopify apps might be overriding custom email templates
  • No solution found yet - discussion remains open with users seeking answers
Summarized with AI on November 2. AI used: claude-sonnet-4-5-20250929.

I’m currently having troubles with customising our confirmation email. I’ve modified the code and it’s showing up correctly when I preview it (image attached) . Although when the confirmation email is sent through Gmail (image attached), it is not showing up the changes that I made.

Images not attached, you can simply paste images into posts, no need to make others download things.

Many notifications have similar names, so make sure that you are editing the template you think you are editing.

Then if the thing you expect to see is inside a condition {% if item.available %} or some other logic just set the condition to true {% if true %} before further testing is done with test-orders .

Other times there can just be cache issues and you may have to wait.

Optionally set conditions that only trigger on the test customer&order data and save the notification and send test mails that way; i.e. {% if customer.email == “john@example.com” -%}Special thing being tested{%-endif-%}

Here are the images. I’ve also attached our current code for our email
confirmation.

What I want the email to look like: (How it’s appearing when I preview the code)

How it appears via Gmail

Current code:

When you test emails like this in Gmail make sure to delete the previous attempts from your Gmail inbox before sending new ones, otherwise Gmail will create a thread and try to show you the differences only. That’s why you’re seeing purple text. Your email may already be looking like you want. :slightly_smiling_face:

I deleted the previous test emails and it’s still not working :slightly_frowning_face: . Even when
the text isn’t purple, the email isn’t completed with the changes that I
made.

I’m having the same problem. The test email looks great, but then when I do a test order, it doesn’t have anything beyond the standard template. None of my changes show in the real order email, but the test email looks great in my inbox.

Having the same problem, preview looks updated, test email looks updated, but the confirmation email is wrong. Do you think any of the Apps we use might be overwritting these email templates?