Accepting credit cards, warehouses, and shipping and fulfilling orders
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
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.
Sorry, where exactly can I apply this code?
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
Thank you for responding!
That makes sense. Do i jus press edit code and add this custom code?
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
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024