Articles on: Notifications

How to Add Date/Time and Delivery Method to Shopify Staff Emails

You'll learn how to display delivery date, time, and method in your Shopify staff notification emails for complete order visibility.


When customers place orders with delivery scheduling, your staff needs immediate access to all delivery details. This guide shows you how to modify Shopify's staff notification template to include Bird Pickup & Delivery information.


Which Widget Version Are You Using?


Bird Pickup & Delivery has two widget versions that store delivery data differently. You need the correct code snippet for your version.


  • V2 Widget (Metafields) — The new default. Delivery data is stored as order metafields. Use the V2 code snippet below.
  • V1 Widget (Cart Attributes) — Legacy version. Delivery data is stored as cart attributes. Use the V1 code snippet below.


How to check: Go to Bird Settings > Widget. If "Widget V2" is enabled, you're on V2.


If you recently upgraded to V2 and delivery information stopped appearing in your staff emails, your template is using V1 code that doesn't work with V2 orders. Follow the V2 instructions below to fix this.



V2 Widget (Metafields)


Access Staff Notification Settings


  1. Go to Shopify Admin → Settings → Notifications → Staff Notifications


Shows the Shopify admin navigation path to reach the Staff Notifications section


  1. Click Edit Code


Displays the Edit Code button that allows customization of the new order notification template


Alternative: Navigate via Bird App → Settings → Notifications → Staff notifications → New order notification email.


Add Delivery Information Code


Copy and paste this code above your order summary table:


{% raw %}
{%
###################################
# V2 Widget - Bird Pickup & Delivery
# Below code you can edit as per your store language
###################################
%}

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

{%
###################################
# Don't change below code
###################################
%}

{% assign Bird_Raw_Method = order.metafields.app--2377744385--bird.delivery_method %}
{% assign Bird_Date = order.metafields.app--2377744385--bird.scheduled_date %}
{% assign Bird_Time = order.metafields.app--2377744385--bird.scheduled_time %}
{% assign Bird_Location = order.metafields.app--2377744385--bird.location_name %}
{% assign Bird_Note = order.metafields.app--2377744385--bird.order_note %}

{% if Bird_Raw_Method == 'Delivery' %}
{% assign Bird_Method = translated_method[0] %}
{% elsif Bird_Raw_Method == 'Pickup' %}
{% assign Bird_Method = translated_method[1] %}
{% elsif Bird_Raw_Method == 'Shipping' %}
{% assign Bird_Method = translated_method[2] %}
{% endif %}

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

{%
###################################
# Below code you can edit as per your need
###################################
%}

{% 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 %}
{% endraw %}


Place the code above your order summary table for optimal visibility.


Shows where to position the Bird App code snippet in relation to the order summary table in the email template


Customize for Your Language


Modify the translation arrays to match your store's language:


  • translated_method: Change "Delivery,Pick Up,Shipping" to your language
  • translated_days: Change "Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday" to your language


Test Your Configuration


  1. Save your template changes
  2. Place a test order with delivery scheduling
  3. Check the staff notification email


Your staff will now receive emails showing:

  • Delivery method (Delivery, Pick Up, or Shipping)
  • Pickup location (if applicable)
  • Delivery date and time
  • Day of the week


The final result showing delivery method, date, time, and day information in the staff notification email



V1 Widget (Cart Attributes)


This section applies to stores using the V1 widget. If you're on V2, use the V2 instructions above.


Access Staff Notification Settings


  1. Go to Shopify Admin → Settings → Notifications → Staff Notifications


Shows the Shopify admin navigation path to reach the Staff Notifications section


  1. Click Edit Code


Displays the Edit Code button that allows customization of the new order notification template


Alternative: Navigate via Bird App → Settings → Notifications → Staff notifications → New order notification email.


Add Delivery Information Code


Copy and paste this code above your order summary table:


{% raw %}
{%
###################################
# Below code you can edit as per your store language
###################################
%}

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

{%
###################################
# Don't change below code
###################################
%}

{% 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 %}

{% 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 %}


{%
###################################
# Below code you can edit as per your need
###################################
%}

{% 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 %}
<br/>
</td>
</tr>
</table>
{% endif %}
{% endraw %}


Place the code above your order summary table for optimal visibility.


Shows where to position the Bird App code snippet in relation to the order summary table in the email template


Customize for Your Language


Modify the translation arrays to match your store's language:


  • translated_method: Change "Delivery,Pick Up,Shipping" to your language
  • translated_days: Change "Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday" to your language


Test Your Configuration


  1. Save your template changes
  2. Place a test order with delivery scheduling
  3. Check the staff notification email


Your staff will now receive emails showing:

  • Delivery method (Delivery, Pick Up, or Shipping)
  • Pickup location (if applicable)
  • Delivery date and time
  • Day of the week


The final result showing delivery method, date, time, and day information in the staff notification email




Updated on: 04/29/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!