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

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

eCommBadassery
Shopify Partner
5 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

Jessica
eCommerce & Email Marketing Strategist
eCommerce Badassery
Replies 5 (5)

magecomp
Shopify Partner
406 28 42

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    |      Shoplock Hide Pages/Collections

Need a developer?  Just visit MageComp website
paolobadajos
New Member
4 0 0

Sorry, where exactly can I apply this code?

Elias
Shopify Staff
3076 300 535

Hey, @paolobadajos.

 

Thank you for joining the thread.

 

It looks like this custom code is for the Local delivery templates, and you can edit the notification templates under the Notifications settings. 

 

If you have any other questions on this topic, then don't hesitate to let us know!

Elias | Social Care @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

paolobadajos
New Member
4 0 0

Thank you for responding!

 

That makes sense. Do i jus press edit code and add this custom code? 

 

paolobadajos_0-1715214110242.png

 

Shay
Shopify Staff
3110 473 649

The Help Center page Elias shared has more information on how to edit your notification templates. You can access them from within your admin under Settings > Notifications. If you aren't comfortable making these kind of changes yourself we recommend hiring a developer to assist you further: Shopify Partner Directory.

Shay | Social Care @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog