Delivery notifications are sent to customers after they purchase a product that you set up with a digital attachment in the Digital Products app. They’re sent as an SMS if the customer enters their phone number during checkout or as an email otherwise; this is consistent with the behaviour of Shopify order notifications. They contain a link to the download page, instructions on downloading their files, and/or even access codes/license keys if this feature is enabled.

You can customize these settings from within the application by scrolling to the bottom of the "Edit Attachment" page and click edit.

Delivery notifications can be configured to be sent immediately when the order is marked as paid, or later when the order is marked as fulfilled, depending on your workflow preferences. By default, we send it immediately, and mark the order as fulfilled when it is delivered.

You can customize the email and SMS templates from the "Delivery Notifications" page by clicking on the corresponding template type you would like to edit and checking "Customize Email Template" or "Customize SMS Template."

Customizing Delivery Notifications Templates

Delivery notification templates, both email and SMS, can be fully customized using the liquid templating language. Emails are sent as HTML and SMS as plain text. Available liquid variables when customizing these templates are:

Top level objects and variables

{{ shop }}
{{ order }}
{{ package_items }}
{{ download_page_url }}
{{ access_keys_enabled }}

Shop

{{ shop.shopify_domain }}
{{ shop.name }}
{{ shop.email }}
{{ shop.customer_email }}
{{ shop.custom_domain }}

Order

{{ order.shopify_order_id }}
{{ order.order_name }}
{{ order.first_name }}
{{ order.last_name }}
{{ order.email }}
{{ order.phone }}

Package Item

{{ item.name }}
{{ item.image_url }}
{{ item.total_size }}
{{ item.description }}
{{ item.files }}

File

{{ file.label }}
{{ file.file_size }}
{{ file.download_duration_limit_enabled }}
{{ file.download_duration_limit_reached }}
{{ file.time_remaining }}
{{ file.seconds_remaining }}
{{ file.download_limit_enabled }}
{{ file.download_limit_reached }}
{{ file.downloads_remaining }}
{{ file.download_url }}