Signup

Order Printer Pro

Limitations

You can currently export a maximum of 250 orders per time.

Setup guide

Code changes in this article add pickup, delivery, and shipping information from our app into the Order Printer Pro templates. You can find and replace the code for any template in Order Printer Pro.

Find the following code:

{% assign TEXT_shipping_address = "Shipping address" %}

Replace the code above with the following:

{% case attributes.Checkout-Method %}
{% when "pickup" %}
{% assign TEXT_shipping_address = "Pickup location" %}
{% when "delivery" %}
{% assign TEXT_shipping_address = "Delivery address" %}
{% else %}
{% assign TEXT_shipping_address = "Shipping address" %}
{% endcase %}


Find the following code:

{% if shipping_method != blank or fulfillment.tracking_company != blank %}

Replace the code above with the following:

{% if shipping_method != blank and attributes.Checkout-Method != 'pickup' or fulfillment.tracking_company != blank  %}


Find the following code:

{% for attribute in attributes %}
<div class="notes-row">
<div class="notes-title subtitle-bold to-uppercase">
{{ attribute.first }}:
</div>
<div class="notes-details">
{{ attribute.last }}
</div>
</div>
{% endfor %}

Replace the code above with the following:

{% if attributes.Pickup-Date && attributes.Pickup-Time %}
<div class="notes-row">
<div class="notes-title subtitle-bold to-uppercase">
Pickup date:
</div>
<div class="notes-details">
{{ attributes.Pickup-Date | date: "%A, %b %d, %y" }} at {{ attributes.Pickup-Time }}
</div>
</div>
{% elsif attributes.Pickup-Date %}
<div class="notes-row">
<div class="notes-title subtitle-bold to-uppercase">
Pickup date:
</div>
<div class="notes-details">
{{ attributes.Pickup-Date | date: "%A, %b %d, %y" }}
</div>
</div>
{% endif %}
{% if attributes.Delivery-Date && attributes.Delivery-Time %}
<div class="notes-row">
<div class="notes-title subtitle-bold to-uppercase">
Delivery date:
</div>
<div class="notes-details">
{{ attributes.Delivery-Date | date: "%A, %b %d, %y" }} between {{ attributes.Delivery-Time }}
</div>
</div>
{% elsif attributes.Delivery-Date %}
<div class="notes-row">
<div class="notes-title subtitle-bold to-uppercase">
Delivery date:
</div>
<div class="notes-details">
{{ attributes.Delivery-Date | date: "%A, %b %d, %y" }}
</div>
</div>
{% endif %}
{% if attributes.Shipping-Date %}
<div class="notes-row">
<div class="notes-title subtitle-bold to-uppercase">
Shipping date:
</div>
<div class="notes-details">
{{ attributes.Shipping-Date | date: "%A, %b %d, %y" }}
</div>
</div>
{% endif %}


A
Andrew is the author of this solution article.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.