Bird Pickup & Delivery Bird Pickup & Delivery
Back to Notifications
Notifications

How to Add Date and Time to Order Confirmation Emails

Updated July 25, 2026

Display scheduled delivery or pickup information directly in your order confirmation emails to keep customers informed.

Your customers need clear confirmation of their delivery or pickup details. This guide shows you how to add delivery date, time, and method information to your Shopify order confirmation email template.

Final output o incorporating date and time into confirmation email

The Bird widget stores your customer’s delivery selection in the order’s Additional Details (order attributes), and the code snippet below reads it directly. This works for both the current widget and the legacy widget.

⚠️

If your store stores Bird data in order metafields instead, this snippet won’t populate — contact us and we’ll share the matching snippet.


Add Delivery Information to Your Email

Access Email Template Settings

  1. Navigate to Bird Settings > Notifications

Bird app settings page showing the Notifications menu option highlighted

  1. Click Edit order confirmation email

Notifications settings page displaying the "Edit order confirmation email" button that opens the Shopify email template editor

Add Delivery Information Code

Important: Backup your current template before making changes. Use Shopify’s Restore to Default button if needed.

Locate the Insertion Point

  1. Find the order summary section in your email template by clicking Preview

Email template editor showing the order confirmation email preview with the Order Summary section

Note: The text might be different in your template depending on your store language or previous customizations. Look for heading above the section that displays order details (shown in the screenshot above).

  1. Use Ctrl+F (Windows) or Cmd+F (Mac) to search for the order summary text in your template

Find dialog box open in the email template editor, searching for "Order Summary" text

  1. Insert the code above the <table class="row section"> element


Shows the exact location where the delivery information code should be inserted, positioned above the Order Summary table

Add the Code Snippet

Copy and paste this code into your email template:

{% ################################### %}
{% # Customize these translations for your store language %}
{% ################################### %}

{% assign translated_method = "Delivery,Pick Up,Shipping"  | split: "," %}
{% assign translated_days = "Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday"  | split: "," %}

{% ################################### %}
{% # Don't modify the code below %}
{% ################################### %}

  {% assign keyValuePairs = nil %}
  {% assign Bird_flag = true %}

{% for line_item in line_items %}
  {% for property in line_item.properties %}
   {% if property.first == '_BirdChimeSlotId' and Bird_flag %}
      {% assign Bird_flag = false %}
    {% assign keyValuePairs = property.last | split: ";" %}
      {% for pair in keyValuePairs %}
        {% assign keyAndValue = pair | split: "=" %}
        {% assign key = keyAndValue[0] %}
        {% assign value = keyAndValue[1] %}
        {% case key %}
          {% when 'M' %}
            {% if value == 'D' %}
            {% assign Bird_Method = translated_method[0] %}
            {% elsif value == 'P'%}
              {% assign Bird_Method = translated_method[1] %}
            {% elsif value == 'S'%}
              {% assign Bird_Method = translated_method[2] %}
            {% endif %}
          {% when 'D' %}
            {% assign Bird_Date = value %}
          {% when 'L' %}
            {% assign Bird_Location_Id = value %}
          {% when 'T' %}
            {% assign Bird_Time = value %}
        {% endcase %}
        {% assign bird_index = Bird_Date | date: "%w" | plus: 0 %}
        {% assign Bird_Day =  translated_days[bird_index] %}
      {% endfor %}
    {% endif %}
  {% endfor %}
{% endfor %}

{% if order.attributes['Delivery Method'] and keyValuePairs == nil %}
  {% if order.attributes['Delivery Method']  == 'Delivery' %}
    {% assign Bird_Method = translated_method[0] %}
  {% elsif order.attributes['Delivery Method']   == 'Pick Up'%}
    {% assign Bird_Method = translated_method[1] %}
  {% elsif order.attributes['Delivery Method']  == 'Shipping'%}
    {% assign Bird_Method = translated_method[2] %}
  {% endif %}
  {% assign Bird_Date = order.attributes['Delivery Date'] %}
  {% assign Bird_Time = order.attributes['Delivery Time'] %}

  {% if Bird_Method == translated_method[1]  and order.attributes['Delivery Location'] %}
    {% assign BIRD_LOCATION = order.attributes['Delivery Location'] %}
  {% endif %}

  {% if Bird_Method != translated_method[2] and order.attributes['Order Note'] %}
    {% assign Bird_Note = order.attributes['Order Note'] %}
  {% endif %}

  {% assign bird_index = Bird_Date | date: "%w" | plus: 0 %}
  {% assign Bird_Day =  translated_days[bird_index] %}
{% endif %}

{% if order.attributes['Translated Delivery Time'] %}
  {% assign Bird_Time = order.attributes['Translated Delivery Time'] %}
{% endif %}

{% ################################### %}
{% # Customize the display format below %}
{% ################################### %}

{% if Bird_Method %}
  <table class="container">
    <br/>
    <tr>
      <td>
        <h4>Delivery Method</h4>
        {{ Bird_Method }}<br>
        {{ BIRD_LOCATION }}
        {% if Bird_Date %}
          <h4>Date & Time</h4>
          {{ Bird_Date | date: "%d.%m.%Y" }}
          {% if Bird_Time %}
            {{ Bird_Time }}
          {% endif %}
          {% if Bird_Date %}
            ({{ Bird_Day }})
          {% endif %}
        {% endif %}
        {% if Bird_Note %}
	  <h4>Order Note</h4>
          {{ Bird_Note }} <br>
	{% endif %}
        <br/>
      </td>
    </tr>
  </table>
{% endif %}

Test Your Email Template

Critical: Email template changes only appear in actual order confirmations, not in preview mode.

  1. Place a test order to verify functionality
  2. Check that delivery information displays correctly

Shows order confirmation email displaying delivery method, date and time information

You’re done! Your order confirmation emails now include delivery information.


Customize Date Format (Optional)

Modify the date display format to match your store preferences:

DD-MM-YYYY format:

{{ Bird_Date | date: "%d-%m-%Y" }}

MM-DD-YYYY format:

{{ Bird_Date | date: "%m-%d-%Y" }}

YYYY-MM-DD format:

{{ Bird_Date | date: "%Y-%m-%d" }}

DD.MM.YYYY format (default):

{{ Bird_Date | date: "%d.%m.%Y" }}

Customize Pickup Order Messages

Replace generic shipping messages with pickup-specific text:

  1. Locate the delivery method section using Ctrl+F or Cmd+F
  2. Replace existing code with:
{% if order.attributes['Delivery Method'] == 'Shipping' %}
          We're getting your order ready to be shipped. We will notify you when it has been sent.
{% elsif order.attributes['Delivery Method'] == 'Delivery' %}
          We're getting your order ready to be delivered. We will notify you when it has been sent.
{% else %}
          Your pickup order has been received.
{% endif %}


Original email template showing generic shipping message that needs to be replaced with pickup-specific text

Updated email template with the new conditional code that displays appropriate messages for different delivery methods

Result: Pickup orders now display “Your pickup order has been received” instead of generic shipping messages.


If you need help, please reach out to our support team.

Was this article helpful?