Display Local Pickup on On Order Printer

Solved

Display Local Pickup on On Order Printer

archer223
Shopify Partner
18 0 3

Hello,

 

I have installed the Updated Order Printer App. I want to display "Local Pickup" on the Packing Slip if an order's delivery method is Local pickup. Shopify support was no help. They said contact the community for support. Can anyone help. It would be greatly appreciated. 

Accepted Solution (1)

Marcelb7
Tourist
8 1 1

This is an accepted solution.

Here's the code that I use on my packing slip. Hope it works for you.

 

{% if order.shipping_method.title != blank %}
<li class="order-details-shipping">
<span class="order-details-title editable" data-key="shipping_method">Shipping Method:</span>
<span class="order-details-text">{{ order.shipping_method.title }}</span>
</li>
{% endif %}

 

Cheers,

Marcel

Mascot Label Group

View solution in original post

Replies 2 (2)

Marcelb7
Tourist
8 1 1

This is an accepted solution.

Here's the code that I use on my packing slip. Hope it works for you.

 

{% if order.shipping_method.title != blank %}
<li class="order-details-shipping">
<span class="order-details-title editable" data-key="shipping_method">Shipping Method:</span>
<span class="order-details-text">{{ order.shipping_method.title }}</span>
</li>
{% endif %}

 

Cheers,

Marcel

Mascot Label Group

archer223
Shopify Partner
18 0 3

Hi Marcel,

 

That is amazing thank you so much. If I may ask another question:-

 The following piece of code was working perfect on (Legacy). But it is no longer working.

 

{% for tag in tags %}
<strong style="font-size: 1.5em;">{% if tag == 'Wholesale'%}{{order.tags}}{% endif %}</strong>
{% endfor %}

 

Any help is greatly appreciated