As the title suggests, the line item properties for our products shows up fine in the cart page but when I try to access them in the confirmation email templates nothing appears.
I’m accessing them in the cart like so:
{% for p in line.properties %}
{% if p.last %}
{% assign name = p.first %}
{% assign value = p.last %}
{% else %}
{% assign name = p.name %}
{% assign value = p.value %}
{% endif %}
{% unless value == blank %}
{{ name }}:
{{ value }}
{% endif %}
{% endunless %}
{% endfor %}