How to get order products

Solved
Expert
Tourist
12 1 6

How to get order products for a single order on account page.

0 Likes
NgnLoop
Explorer
60 10 46

This is an accepted solution.

Hi,

You can loop through like this.

{% for item in order.line_item%}

{{ item.id }}

{% endfor %}

 

try this in for loop of orders.