Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
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:
<p>{{ service_name }},</p>
<br>
<p>Please fulfill order {{ name }}.</p>
<p>Total number of items: {{ fulfillment.item_count }}</p>
<p>Unique items: {{ fulfillment.fulfillment_line_items.size }}</p>
<br>
<p><strong>Items to fulfill:</strong></p>
{% for line in fulfillment.fulfillment_line_items %}
<p>Variant Title: {{ line.line_item.title }}</p>
<p>SKU: {{ line.line_item.sku }}</p>
<p>Quantity: {{ line.quantity }}</p>
<p>Grams: {{ line.line_item.grams }}</p>
<p>Vendor: {{ line.line_item.vendor }}</p>
{% unless line.properties == empty %}
{% for p in line.properties %}
<p>{{ p.first }}:{{ p.last }}</p>
{% endfor %}
{% endunless %}
<br>
{% endfor %}
{% if shipping_address %}
<br>
<p><strong>Shipping Address:</strong></p>
<p>{{ shipping_address.name }}{% if shipping_address.company %}
{{ shipping_address.company }}{% endif %}</p>
<p>{{ shipping_address.address1 }}</p>
<p>{{ shipping_address.address2 }}</p>
<p>{{ shipping_address.city }}, {{ shipping_address.province }}</p>
<p>{{ shipping_address.zip }}</p>
<p>{{ shipping_address.country }}</p>
{% if shipping_address.phone %}<p>Phone: {{ shipping_address.phone }}</p>{% endif %}
{% endif %}
<br>
<p><strong>Shipping Method:</strong></p>
<p>{% if shipping_method %}{{ shipping_method.title }}{% else %}None{% endif %}</p>
<br>
<p><strong>Tracking Number:</strong></p>
<p>{% if fulfillment.tracking_number %}{{ fulfillment.tracking_number }}{% else %}None{% endif %}</p>
<br>
<p><strong>Customer Email:</strong></p>
<p>{{ email }}</p>
<br>
<p>Thank you,</p>
<p>{{ shop_name }}</p>
Everything gets filled correctly when the mail is sent but the properties do not get printed.
Best regards,
Jan
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025