HomeSetupProductsValidationQueueAccuracySettings

Settings. This page is ready

Settings

How the app works out your dates, and when you actually ship

Loading…

Add the date to your order confirmation email

Optional

Your order confirmation email is yours to edit, so we can't add this for you. Paste the snippet below once and every future confirmation will include the promised dispatch date. You can remove it again at any time, and nothing else in the app depends on it.

{%- assign zn_promise = order.metafields["app--410196574209--promise"]["ship_by"].value -%}
{%- if zn_promise.rangeFrom and zn_promise.rangeTo -%}
  <p>Estimated dispatch between {{ zn_promise.rangeFrom | date: "%-d %B %Y" }} and {{ zn_promise.rangeTo | date: "%-d %B %Y" }}</p>
{%- elsif zn_promise.shipBy and zn_promise.confidence != 'LOW' -%}
  <p>Estimated dispatch by {{ zn_promise.shipBy | date: "%-d %B %Y" }}</p>
{%- endif -%}

Where to paste it

  1. Shopify admin → Settings → Notifications
  2. Under Customer notifications, open Order confirmation
  3. Click Edit code, paste the snippet where you want the date to appear, and Save

The snippet prints nothing at all when there is no date to give — while you're still observing, for an order we can't estimate, or for orders placed before you installed the app. It will never send a half-finished sentence.

Showing dates to customers

Checking…