Articles on: Notifications and validations

Add Date/Time in packaging slip or invoice.

If you want to add the date/time on package slip or invoice and get it printed.

Easy way- (Recommended)



Go to Bird App Settings > Order Management .



Scroll to Order notes and fulfillment and enable the following. This will add the date/time to the order note and order note can then be printed in the packaging slip.




Optionally, If you want to format it, navigate to Bird App Settings > Notifications > Customer notifications > Edit packaging slip .



Replace the following code

<p class="notes-details">
   {{ order.note }}
</p>


with

{% assign note_array = order.note | split: " | " %}
{% for note_item in note_array %}
   <p class="notes-details">{{ note_item }}</p>
{% endfor %}




Translate Date/Time in Invoice and packing slip (Optional)



Translate the date/time on packaging slip and get it printed.

Replace the code you added before following the above steps:

{% assign note_array = order.note | split: " | " %}

{% for note_item in note_array %}
   <p class="notes-details">{{ note_item }}</p>
{% endfor %}


with

{% assign note_array = order.note | split: " | " %}

{% for note_item in note_array %}
   {% assign translated_item = note_item %}
   {% if note_item contains "Delivery Method" %}
      {% assign translated_item = note_item | replace: "Delivery Method", "Delivery Method" %}
   {% endif %}
   {% if note_item contains "Delivery Date" %}
      {% assign translated_item = note_item | replace: "Delivery Date", "Delivery Date" %}
   {% endif %}
   {% if note_item contains "Delivery Time" %}
      {% assign translated_item = note_item | replace: "Delivery Time", "Delivery Time" %}
   {% endif %}
   {% if note_item contains "Delivery Location" %}
      {% assign translated_item = note_item | replace: "Delivery Location", "Delivery Location" %}
   {% endif %}
   <p class="notes-details">{{ translated_item }}</p>
{% endfor %}


Note: Make sure to replace the words "Delivery Method,"  "Delivery Date,"  "Delivery Time," and "Delivery Location" as shown in the below screenshot with the translated words.

The translated code will look like this:



The translated fields in the packing slip will look like this (Dutch Language).



Advanced Way - (Optional)



You will need Shopify’s order printer app in order to add date and time in the packaging slip

Simply use the following code snippet in the packaging slip template to add the date / time

{% if attributes["Delivery Date"] %}
	<div style="border: 1px solid black; padding: 1.5em; margin: 0 0 1.5em 0;"> 
		<p>Date: {{ attributes["Delivery Date"] }}</p>
	  {% if attributes["Delivery Time"] %}
		   <p>Time: {{ attributes["Delivery Time"] }}</p>
		 {% endif %}
		{% if attributes["Delivery Method"] %}
		  <p>Delivery Method: {{ attributes["Delivery Method"] }}</p>
		{% endif %}
	</div>
{% endif %}


Related Document: Enable order confirmation email with slot date and time

Updated on: 11/09/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!