Hello,
I am creating transactional emails and attempting to create a “for block” where the refunded items & qty populate.
I tried to use this syntax: {% for item in event.extra.refunds.refund_line_items %}{{ item.name }} × {{ item.quantity }}{% endfor %}
However it did not work. I also tried incorporating repeat block feature:
Repeat for: event.extra.refunds
Item Alias: item
For block;
{% for item in refund_line_items %}{{ item.name }} × {{ item.quantity }}{% endfor %}
The original syntax for one item is {{ event.extra.refunds.0.refund_line_items.0.line_item.name }}.
I am using a Shopify integreation
Thanks!