Hello,
I am trying to alter the Fulfillment request notification mail template.
I am using the Globo Options App to get additional options for the items in the order.
According to the documentation this information should be stored in the line.properties.
Unfortunately I cannot get this to work.
I already contacted the app support and shopify support but they could not figure it out.
Maybe someone has experience and knows how to get this solved?
This is my code:
{{ service_name }},
Please fulfill order {{ name }}.
Total number of items: {{ fulfillment.item_count }}
Unique items: {{ fulfillment.fulfillment_line_items.size }}
**Items to fulfill:**
{% for line in fulfillment.fulfillment_line_items %}
Variant Title: {{ line.line_item.title }}
SKU: {{ line.line_item.sku }}
Quantity: {{ line.quantity }}
Grams: {{ line.line_item.grams }}
Vendor: {{ line.line_item.vendor }}
{% unless line.properties == empty %}
{% for p in line.properties %}
{{ p.first }}:{{ p.last }}
{% endfor %}
{% endunless %}
{% endfor %}
{% if shipping_address %}
**Shipping Address:**
{{ shipping_address.name }}{% if shipping_address.company %}
{{ shipping_address.company }}{% endif %}
{{ shipping_address.address1 }}
{{ shipping_address.address2 }}
{{ shipping_address.city }}, {{ shipping_address.province }}
{{ shipping_address.zip }}
{{ shipping_address.country }}
{% if shipping_address.phone %}
Phone: {{ shipping_address.phone }}
{% endif %}
{% endif %}
**Shipping Method:**
{% if shipping_method %}{{ shipping_method.title }}{% else %}None{% endif %}
**Tracking Number:**
{% if fulfillment.tracking_number %}{{ fulfillment.tracking_number }}{% else %}None{% endif %}
**Customer Email:**
{{ email }}
Thank you,
{{ shop_name }}
Everything gets filled correctly when the mail is sent but the properties do not get printed.
Best regards,
Jan