I enabled the new ‘local pickup’ option which is working. However, when I mark and orders as ‘picked up’ the customer does not receive any confirmation email. I tried using both these liquid variables:
{% if attributes.Checkout-Method == “pickup” %}
{% if pickup_in_store? %}
But in either case; no email is sent when I mark an order as ‘picked up’.
My shipping confirmation e-mail is formatted like this:
TITLE: {% if pickup_in_store? %} Order {{ name }} has been picked up{% else %}Your order from my store {{ name }} has shipped.{% endif %}
BODY:
% if fulfillment.fulfillment_line_items.count == item_count %}
{% capture shipment_name %}Your order is{% endcapture %}
{% elsif fulfillment.item_count > 1 %}
{% if fulfillment_status == ‘fulfilled’ %}
{% capture shipment_name %}The last items in your order are{% endcapture %}
{% else %}
{% capture shipment_name %}Some items in your order are{% endcapture %}
{% endif %}
{% else %}
{% if fulfillment_status == ‘fulfilled’ %}
{% capture shipment_name %}Your order{% endcapture %}
{% else %}
{% capture shipment_name %}One item in your order has been made{% endcapture %}
{% endif %}
{% endif %}
{% for item in fulfillment.fulfillment_line_items %}
{% endif %}
{% endfor %}
{% if pickup_in_store? %}
{% capture email_title %}{{ shipment_name }} has been picked up{% endcapture %}
{% capture email_body %}
Thank you for picking up your order
{% if fulfillment.item_count == item_count %}All{% elsif fulfillment_status == 'fulfilled' %}The last{% else %}Some{% endif %} of the items from order {{ name }} have been picked up:
{% if attributes.Pickup-Location-Company %}
{{ attributes.Pickup-Location-Company }}
{% endif %}
{{ attributes.Pickup-Location-Address-Line-1 }}
{% if attributes.Pickup-Location-Address-Line-2 %}
{{ attributes.Pickup-Location-Address-Line-2 }}
{% endif %}
{{ attributes.Pickup-Location-City }}
{{ attributes.Pickup-Location-Region }}
{{ attributes.Pickup-Location-Postal-Code }}
{{ attributes.Pickup-Location-Country }}
{% endcapture %}
{% else %}