Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hey Shopify community!
Wondering if anyone else is having issues with {% if delivery_method == 'pick-up' %} in the Staff Order Notifications. It doesn't seem to want to output any "Pick Up" specific info when the customer at purchase, chooses the local pick up option.
Shows in their order page that it is a Local Pick Up, and the liquid snippet above is what was in the Staff Order Notification Template (generic shopify code). It is just not updating the Staff Order Notification when it is a pick up. Delivery works fine and all info is outputting as noted.
So, the following is not being updated:
{% if delivery_method == 'pick-up' %}
<tr class="subtotal-line">
<td class="subtotal-line__title">
<p>
{% if titleBold %}
<span><strong>Pickup</strong></span>
{% else %}
<span>Pickup</span>
{% endif %}
</p>
</td>
<td class="subtotal-line__value">
{% if valueBold %}
<strong>{{ shipping_price | money }}</strong>
{% else %}
{{ shipping_price | money }}
{% endif %}
</td>
</tr>
{% else %}
...
This came up when my client wanted to have the customers email show up on the Staff Order Confirmation email, which by default it does not for the Pick Up option, so I went in and added this snippet just below the intro:
{% if delivery_method == 'pick-up' %}
<strong>Pick Up Order</strong><br>
{{ customer.email }}
{% endif %}
And of course nothing is showing up when a pick up order is coming through. I have note into Shopify support about this already, but wondering if anyone has seen this? Assuming this is a liquid rendering bug? Because this is an email notification, it is a bit hard to inspect the .json output like I can with internal pages.
Thoughts? Suggestions?
Thanks,
Aaron
Hi Aaron,
did you find any solution to this?
I have the same problem.
Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025