Using
liquid syntax, you can iterate through a list of order items for an order.
Here is an example that goes through every order item in an order and output the id of the item. We used the
for liquid tag to access the list.
{% for item in order.order_items %}
{{item.id}}
{% endfor %}
Comments and Suggestions
0 comments
Please sign in to leave a comment.
Related articles