Orders not showing

Highlighted
New Member
7 0 0

I am a developer for a website and I was given a log in. The account that I am using has paid orders but when i log in to the account page, I don't see my past orders. The My Account Page says You haven't placed any orders yet even though I have past orders.

Note: Other users are also reporting that they don't see their past orders.

Any help is appreciated.

0 Likes
Highlighted
New Member
7 0 0

This thread is solved. I solved it by going to the account.liquid file and I found out the line below:
 

{% if customer.orders.size == 0 %}

I updated the code into {% if customer.orders.size != 0 %}

0 Likes
Highlighted
Shopify Staff
Shopify Staff
741 57 91

Amazing work, Amidamaru! Thanks for the feedback to help others as well. It's always greatly appreciated. :-) 

-Ted

Ted | Social Care @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

0 Likes
Highlighted
New Member
1 0 0

I looked at my code and it seems to match the update but my customers account orders are not showing up. 

0 Likes