{% if order.orderCustomer.salutation %}{{ order.orderCustomer.salutation.translated.letterName ~ ' ' }}{% endif %}{{ order.orderCustomer.firstName }} {{ order.orderCustomer.lastName }},

Mit dieser E-Mail erhalten Sie die Dateien zu der Bestellung: {{ order.orderNumber }}.

{% for lineItem in order.lineItems %}{% if lineItem.downloads is defined and lineItem.downloads|length %}
{{ lineItem.label|u.wordwrap(80) }} {% if lineItem.payload.productNumber is defined %}({{ lineItem.payload.productNumber|u.wordwrap(80) }}){% endif %}

-------------------------------------
{% for download in lineItem.downloads %}{% if download.accessGranted %}
{{ download.media.fileName }}.{{ download.media.fileExtension }} - {% set downloadLink = rawUrl('frontend.account.order.single.download', {'orderId': order.id, 'downloadId': download.id, 'deepLinkCode': order.deepLinkCode}, salesChannel.domains|first.url) %}{{ downloadLink }}
{% endif %}{% endfor %}

{% endif %}{% endfor %}
