All things Shopify and commerce
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!!
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 %}
Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025Expand into selling wholesale with Shopify Academy’s learning path, B2B on Shopify: Lau...
By Shopify Jan 28, 2025