Skip to content
FULLTime eCommerce

Email Template for Order Confirmation – Cart Upload Pro Order Shopware 6

Insert the following HTML code at the desired location in your email template for the order confirmation.

From version 2.4.0: use upload.downloadUrl instead of a hand-built path

Do not assemble the link from the shop path yourself any more – use {{ upload.downloadUrl }}. The plugin then always returns a link to the file's actual storage location, even if you later switch on private storage.

Before

<a href="{{ url('frontend.home.page') }}order-uploads/final/{{ upload.qquuid }}/{{ upload.filename }}">{{ upload.filename }}</a>

After

<a href="{{ upload.downloadUrl }}">{{ upload.filename }}</a>

As long as private storage is switched off, downloadUrl produces exactly the same public path as before. Making the change is therefore risk-free and can be done at any time.

<br/>
<strong>Daten zu Ihrer Bestellung:</strong><br>
{% if order.extensions.orderUploads %}
    {% for upload in order.extensions.orderUploads %}
        <a href="{{ upload.downloadUrl }}" class="cart-item-label" target="_blank">{{ upload.filename }}</a>  <br/>
    {% endfor %}
{% endif %}

It is recommended to insert this code after the table containing the order items.

Was this page helpful?

Support

Rented Plugins (Shopware Store)

For support with plugins rented from the Shopware Store, please open a support ticket in your Shopware account.

Create Shopware Ticket

General Inquiries

For general questions or purchase licenses, reach us by email.

Send Email
Email Template for Order Confirmation – Cart Upload Pro Order Shopware 6 | FULLTime eCommerce