Adding Pickup or Delivery date to Invoices in Order printer App

Topic summary

Main issue: Customer-selected pickup/delivery date and time no longer appear on invoices printed via Shopify’s Order Printer after app changes.

Context: Original template referenced order properties like attributes.Pickup-Date, Pickup-Time, Delivery-Date, and Delivery-Time, with Liquid date formatting. Copying the old code into the new app stopped working.

Key technical point: After the Order Printer migration, order properties are no longer exposed as top-level variables; they must be accessed via order.attributes. Reference: Shopify migration docs for using order variables.

Latest update: A contributor proposed updating the template to use order.attributes.Pickup-Date, order.attributes.Pickup-Time, order.attributes.Delivery-Date, and order.attributes.Delivery-Time (retaining the existing date/time filters). This directly addresses the variable access change introduced by the new app version.

Outcome/status: No confirmation yet that the revised template works; testing is needed.

Action items:

  • Update the invoice template to use order.attributes.* for each property.
  • Verify Liquid date/time filters still render as expected.
  • Consult Shopify’s migration guide if further variable access issues arise.

Note: The code snippets are central to the resolution.

Summarized with AI on December 27. AI used: gpt-5.

Hey

Im trying to add the customer selected pickup date in the order printer app. We used to have it but the code will no longer work in the new app if we just copy and paste it over.

Any ideas on how to do this. It doesn’t have to look pretty either!

Thanks

Hello @lynda6 ,

To add the customer-selected pickup date in the Order Printer app, try using the Steller Delivery Date & Pickup app. This app allows customers to choose their pickup date during checkout, which you can then display in your order templates. Key features include delivery date selection, store pickup options, a shipping calendar, blackout dates, cutoff times, customizable messaging, and email notifications. These features can help manage and display pickup dates effectively.

Just to confirm we already have an app :slightly_smiling_face: We just want the delivery date or pickup date to show on the customer invoices when we print them via the order printer. All the code we have tried doesnt seem to work

What code you’ve been using?

There are differences between printer apps (https://help.shopify.com/en/manual/orders/printing-orders/shopify-order-printer/migration).

Need to see the code to suggest modifications.

Hi Tim

Thanks for your reply!

This is what we currently have


{% if attributes.Pickup-Date %}

Pickup Date: {{ attributes.Pickup-Date | date: "%A, %-d %B %Y" }}

{% endif %} {% if attributes.Pickup-Time %}

Pickup Time: {{ attributes.Pickup-Time | date: "%R" }}

{% endif %}

{% if attributes.Delivery-Date %}

Delivery Date: {{ attributes.Delivery-Date | date: "%A, %-d %B %Y" }}

{% endif %} {% if attributes.Delivery-Time %}

Delivery Time: {{ attributes.Delivery-Time }}

{% endif %}

Previously, all order properties were exposed as separate variables. New app does not do this – https://help.shopify.com/en/manual/orders/printing-orders/shopify-order-printer/migration#using-order-variables

I’d try this as a first step:

{% if order.attributes.Pickup-Date %}
  

**Pickup Date:** {{ order.attributes.Pickup-Date | date: "%A, %-d %B %Y" }}

{% endif %}
{% if order.attributes.Pickup-Time %}
  

**Pickup Time:** {{ order.attributes.Pickup-Time | date: "%R" }}

{% endif %}

{% if order.attributes.Delivery-Date %}
  

**Delivery Date:** {{ order.attributes.Delivery-Date | date: "%A, %-d %B %Y" }}

{% endif %}
{% if order.attributes.Delivery-Time %}
  

**Delivery Time:** {{ order.attributes.Delivery-Time }}

{% endif %}