subject = "Your downloads are ready" description = "Sent when a virtual product order has been paid" == Hi {{ order.customer.firstname }} Your downloads are ready! Please use the links below to download your purchases: {% partial 'table' body %} {% for order_product in products %} {% for grant in order_product.product_file_grants %} {% endfor %} {% if not loop.last %} {% endif %} {% endfor %}
{{ product.name }}
Download {{ grant.display_name }} {{ loop.length > 1 ? ('#' ~ loop.index) }} {% if grant.expires_at %}
valid until {{ grant.expires_at.toDateString() }} {% endif %} {% if grant.max_download_count %}
max. {{ grant.max_download_count }} downloads {% endif %}
{% endpartial %} {% partial 'button' url=account_url type='primary' body %} Check your order online {% endpartial %}