Customer Email Photo Missing

Customer Email Photo Missing

mollykearns
Excursionist
14 0 3

Hi, when my shop sends customers confirmation emails the photo in the email is always just a blank placeholder image instead of an image of the product. How can I fix this? 

 

Thank you!!

 

customer email.PNG

Reply 1 (1)

Small_Task_Help
Shopify Partner
830 28 75

Hi,

 

Update the Image Code at the Email template

Code example

{% if line_item.image %}
  <img src="{{ line_item.image | img_url: 'large' }}" alt="{{ line_item.title }}">
{% else %}
  <img src="https://example.com/path/to/default-image.jpg" alt="Default Image">
{% endif %}

 

To Get Shopify Experts Help, E-mail - hi@ecommercesmalltask.com
About Us - We are Shopify Expert Agency
At Google My Business - Ecommerce Small Task - Hire Shopify Developers Ahmedabad