Hi All,
I am trying to edit the theme section in my customer/account so that it only shows orders that aren’t yet fulfilled. I realise there is a status property on the order, however I have found that this doesn’t get updated for quite some time after the order has been fulfilled.
As a result I want to look at the fulfillmentOrders object and then it’s lineItems to see their status.
I have the customer.orders and I don’t know how to connect the fulfillmentOrders to this. I have tried a number of ways to get there but everything has resulted in null and not an object drop.
Can anyone suggest the right syntax/code for this can be found?
If it is not possible, would someone let me know this too, please?
This is my code so far:
{% paginate customer.orders by 49 %}
{% for order in customer.orders %}
{% assign foundstatus = order.financial_status %}
ordername: {{ order.name }}
order: {{ order }}
fulfillment order1: {{ fulfillments }}
fulfillment order2: {{order.fulfillmentOrders }}
fulfillment order3: {{fulfillmentOrders }}
fulfillment order4: {{order.fulfillmentorders }}
…
Any help will be greatly appreciated.
Cheers,