Adding Pickup or Delivery date to Invoices in Order printer App

lynda6
Visitor
3 0 0

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

Replies 5 (5)

iCart_App
Shopify Partner
562 58 107

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.

iCart Cart Drawer Cart Upsell App


- If you find the solution helpful, please accept and like it
- To learn more visit www.identixweb.com
lynda6
Visitor
3 0 0

Just to confirm we already have an app 🙂 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

tim
Shopify Expert
3583 306 1334

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. 

If my post is helpful, consider liking it -- it will help others with similar problem to find a solution.
I can be reached via e-mail tairli@yahoo.com
lynda6
Visitor
3 0 0

Hi Tim

 

Thanks for your reply!

 

This is what we currently have 

 

<td>
<br>
{% if attributes.Pickup-Date %}
<p><strong>Pickup Date:</strong> {{ attributes.Pickup-Date | date: "%A, %-d %B %Y" }}</p>
{% endif %}
{% if attributes.Pickup-Time %}
<p><strong>Pickup Time:</strong> {{ attributes.Pickup-Time | date: "%R" }}</p>
{% endif %}

{% if attributes.Delivery-Date %}
<p><strong>Delivery Date:</strong> {{ attributes.Delivery-Date | date: "%A, %-d %B %Y" }}</p>
{% endif %}
{% if attributes.Delivery-Time %}
<p><strong>Delivery Time:</strong> {{ attributes.Delivery-Time }}</p>
{% endif %}

tim
Shopify Expert
3583 306 1334

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-orde... 

 

I'd try this as a first step:

{% if order.attributes.Pickup-Date %}
  <p><strong>Pickup Date:</strong> {{ order.attributes.Pickup-Date | date: "%A, %-d %B %Y" }}</p>
{% endif %}
{% if order.attributes.Pickup-Time %}
  <p><strong>Pickup Time:</strong> {{ order.attributes.Pickup-Time | date: "%R" }}</p>
{% endif %}

{% if order.attributes.Delivery-Date %}
  <p><strong>Delivery Date:</strong> {{ order.attributes.Delivery-Date | date: "%A, %-d %B %Y" }}</p>
{% endif %}
{% if order.attributes.Delivery-Time %}
  <p><strong>Delivery Time:</strong> {{ order.attributes.Delivery-Time }}</p>
{% endif %}

 

If my post is helpful, consider liking it -- it will help others with similar problem to find a solution.
I can be reached via e-mail tairli@yahoo.com