Local Delivery Notifications: Out for Delivery & Delivered Trigger on Fulfillment

Shopify Partner
1 0 0

Is there a way to trigger the Local Delivery out for delivery and delivered emails separately?


Marketing a local delivery as ready for delivery doesn't send anything

Marking it as fulfilled sends both the out-for-delivery and delivered emails at the same time

eCommerce & Email Marketing Strategist
eCommerce Badassery
Reply 1 (1)

Shopify Partner
264 20 32

Hello @eCommBadassery 


To create a custom email template for the Local Delivery out for delivery event, you can use the following code:

{% if order.shipping_method.carrier_code == 'local_delivery' %}
  {% if order.status == 'ready_for_pickup' %}
    {% include 'email/local_delivery_out_for_delivery.liquid' %}
  {% endif %}
{% endif %}

This code will check if the order's shipping method is Local Delivery and if the order's status is Ready for Pickup. If both of these conditions are met, the email/local_delivery_out_for_delivery.liquid template will be included in the email.

You can create a custom email template for the Local Delivery delivered event in the same way. The only difference is that you will need to use the email/local_delivery_delivered.liquid template instead of the email/local_delivery_out_for_delivery.liquid template.

Helping voluntarily. Please like and accept the solution if it helps. Thanks!
Our Bestseller Shopify Apps    |      Mobile App Builder by MageComp    |      Limit Qty Purchase

Need a developer?  Just visit MageComp website