Hi Paul,
I want to attach a pdf file in my draft order. I have added a metafield to attach pdf in products. Now I want to display that file url in my draft order email template. Can you please help me out here. The current code look like this:
{% for metafields_item in product.metafields %}
{{ line.metafields_item.reference.file.custom.estimate.url }}
{% endfor %}