Edit Order Confirmation Email

Edit Order Confirmation Email

JammySmears
Tourist
4 0 1

I need to edit the order confirmation email because I am using workshop software that sends draft orders through to Shopify, which are then paid for in-store, so some of the info is not needed in the email.

1. I'd like to remove product images

 

2. I'd like to remove all shipping info lines

 

I know that the changes need to be made to the html, the issue I have is that it is too complicated for me. If you could share the sections of code that I should delete or comment out that would be great.

Thanks,
Ty

Reply 1 (1)

CodingFifty
Shopify Partner
901 131 164

HI @JammySmears,


How to Edit the Order Confirmation Email in Shopify
Go to Shopify Admin > Settings > Notifications
Scroll down and click on Order Confirmation
Click on Edit Code

Remove Product Images
Look for this section in the email template:

 

{% if line.image %}
  <td class="order-list__item-image">
    <img src="{{ line.image | img_url: 'small' }}" alt="{{ line.title }}">
  </td>
{% endif %}

 

Remove All Shipping Info Lines
Find and remove this section related to shipping:

 

{% if shipping_address %}
  <h2>{{ 'email.shipping_address' | t }}</h2>
  <p>
    {{ shipping_address | format_address }}
  </p>
{% endif %}

 

 

Coding Fifty || Shopify Partner
For any custom section queries, please visit: Fiverr Profile
Found my response useful? Like it and mark as Accepted Solution!
For additional discussions, reach out via: Email ID: codingfifty@gmail.com