0

We're thinking about loading in some prior order data from another system to allow our customers to see them in one place under My Orders section of My Account. We can back date the order when creating via API, they are assigned a new BC order ID which is OK.

The problem is by default orders-list.html in theme lists the orders based on order number descending, putting all our "old" orders at the top of the list.

Is there a way to change this template to be based on the order date instead?

I'm thinking maybe the change needs to happen at the entry of the loop {{#each orders}}

0 Answers0