Can someone help me figure out how I can include a product’s image on an order confirmation email? It’s displaying the ID, but no product photo.
You can do it like this
{{ #each order.items }}
<tr>
{{ #if ../settings.includeProductImagesInInvoice }}
{{ #is_absolute_url this.image }}
<td valign="top" align="right" style="border-bottom: solid 1px #ccc;">
<img src="{{ this.image }}" style="margin-right: 5px; max-width: 75px;" height="75" width="75" />
</td>
{{ else }}
<td style="border-bottom: solid 1px #ccc;"></td>
{{ /is_absolute_url }}
{{ else }}
<td style="border-bottom: solid 1px #ccc;"></td>
{{ /if }}