Shipment Handed Over to Carrier

A Shipment Handed Over to Carrier can be sent to customers when their shipment has been handed over to a carrier. It is used for various delivery methods (apart from the personal pick up).

This e-mail can be sent from the Shipments application by clicking the Dispatched button or directly from a particular order detail using the Send E-mail button.

It should contain information about the delivery, such as an address or delivery time and (optionally) tracking numbers connected to the order. Feel free to use this code:

{% for tracking in order.deliveryDetail.trackings %}
        Tracking number: {{ tracking.trackingNumber}}{% if tracking.url | length %} (<a href="{{tracking.url}}" target="_blank">link</a>){% endif %}<br/>
{% endfor %}

In the Templates application (a particular website editor, Tools and Settings tab) you define only a template. The sending is defined in the E-shop Settings application later (after the template is done and completed).

  1. Code an E-mail Template for Shipment Handed Over to Carrier in the Templates application. Remember that you are defining only a template, not its sending. Use the E-mail Template Parameters help-site to display personalized data (such as purchased items, delivery used, payment methods and much more). Primary focus on the Customer’s Template section.

  2. Define the usage of Template.

    1. Navigate to the Administration and run E-shop Settings. Here, on the E-mails tab, add the created template.

    2. Click the Add button and in the E-mail Type field select the Shipment Handed Over to Carrier. In Template select a Name of the particular E-mail Template you created in the application before.

      • The From Label field defines a name that will be displayed to the customer in the e-mail. Notice that this field can be translated in case you have a multilingual online store.

      • The From field should contain an e-mail address from which this email will be sent. For example an e-mail you use for storing customer support.

      • The Subject field is a subject of this e-mail that is displayed to the customer (together with From Label). For example “Your order on our online store has been received”.

      • The To field is automatically filled in with e-mail that your customer provided to you during the checkout process. “Cc” and “Bcc” fields should optionally contain another e-mail addresses to that you want to send copies of those e-mails.

    3. When you are done, click the Add button (and the Save button in the toolbar) and your e-mail will be automatically sent when a customer orders something from your online store (don’t forget to approve the project!).

  3. Add an attachment. You can add an attachment to this e-mail type. This can be the invoice, show-card, coupon or anything else you want. Remember that this file attachment must be added to the File Manager first. For every e-mail added the attachment icon is available on the right side on each e-mail record. Click it and select a document (see the Document tab in the E-shop Settings) or a file from the File Manager.