Orders are missing on Order History page in My Account on Front-end
The Orders are missing and the error You have placed no orders
is presented in My Account on Order History page. But! The customer has orders and they are presented in the admin panel.
Usualy it happens because of the Order Status has Visible on Storefront = No
.
How to display missing orders on Order History page in My Account on Front-end
-
In the admin panel navigate to the
Sales > Orders
and open Order that 100% customer did and it doesn’t displays on Order History page. -
Check
Order Status
and remember it. In my case it’sAwaiting payment
. -
Then in the admin panel navigate to the
Stores > Order Status
and check the value in theVisible on Storefront
in the Order Status row.- If you see
Yes
- close this page and debug or try to google again. - If you see
No
- please rememberStatus Code
from the previous step and follow next steps. In my case it’sicecore_open
.
- If you see
-
Navigate to the database. I use
Adminer
for this. -
Open
sales_order_status_state
table and change0
to1
in thevisible_on_front
column in the row where isstatus = icecore_open
(take yourStatus Code
in the Step 3).
That’s it!
If you find usefull this information - please don’t copy-paste. Share the link instead.
Thank you !