All things Shopify and commerce
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
I'd like to make the product names and/or images clickable in the draft order email that is sent to the customer. Anyone had success with this?
Solved! Go to the solution
This is an accepted solution.
@ggljohnsonif you're not familiar with editing notifications the documentation will help you:
https://help.shopify.com/en/manual/orders/notifications/edit-template
https://help.shopify.com/en/manual/orders/notifications/email-variables
@Dbuglabpvtltd answered your question correctly. In case you're not familiar with code I'll share some example code to help you out.
For example, in the notification you could find the code that cycles through line items and show the image / make it clickable with something like this:
{% for line in line_items %}
<a href="https://yourstoreurl.com/{{ line.url }}"><img src="{{ line.image | img_url: "small" }} /></a>
{% endfor %}
From there you can add text, add CSS to style how it looks, etc.
If you need help from a developer feel free to reach out to my team of Shopify developers at speedboostr.com/contact.
Hi @ggljohnson
You can do this order email template
Go to shopify settings >> notification.
Here find order-email template and you can edit code there.
This is an accepted solution.
@ggljohnsonif you're not familiar with editing notifications the documentation will help you:
https://help.shopify.com/en/manual/orders/notifications/edit-template
https://help.shopify.com/en/manual/orders/notifications/email-variables
@Dbuglabpvtltd answered your question correctly. In case you're not familiar with code I'll share some example code to help you out.
For example, in the notification you could find the code that cycles through line items and show the image / make it clickable with something like this:
{% for line in line_items %}
<a href="https://yourstoreurl.com/{{ line.url }}"><img src="{{ line.image | img_url: "small" }} /></a>
{% endfor %}
From there you can add text, add CSS to style how it looks, etc.
If you need help from a developer feel free to reach out to my team of Shopify developers at speedboostr.com/contact.