We’re seeing a strange issue with customer sessions on stores using new customer accounts.
Basically, when a user logs in via shopify.com/account, everything looks fine there — but when they return to the storefront (*.myshopify.com) after some time (like 24h+), they show up as logged out. {{ customer }} is null, so any Liquid-based logic or loyalty widgets treat them as guests. But at the same time, the checkout still recognizes them as logged in and pre-fills their info.
Cookies are valid and not cleared (expiry set to 2026)
Reproduced on multiple stores and devices (desktop & mobile)
Re-logging fixes it, but only temporarily
Happens even without any apps installed
Shopify support suggested session tokens, but those don’t really apply here since this is about native storefront + Liquid, not an embedded app or headless setup.
Anyone else run into this?
Would love to know if this is expected or if there’s a proper fix/workaround.
Just to confirm, this is happening with a client of ours too; customers can be logged in using new accounts, but as soon as they click through to the Store from the account page the customer object is empty. If the user completely clears cache, logs out, logs in again, turns 3 times on the spot and click their shiny red shoes together they sometimes can be seen as a customer. Struggling to get a consistent set of reproduction steps, but a fix would be grand.
Update: We’ve just released a fix for this. The fix won’t affect sessions that were already created before this, but sessions that are saved now should last 30 days.
Same here, we’ve been having this issue for weeks now and my client is boiling.. For some, the {{ customer }} object is null in the theme after login in, even after login out then back in.
Hello, the strange behavior noticed since Shopify rollout New Customer Account.
We build loyalty program and go into the issue randomly. There is no such pattern on it.
Even right after logged in successfully, click to Go to store => User got logged out.
Reach to chat with Shopify support sometime but seem they don’t catch it.
This has been an ongoing issue for over a month and have a ticket open with Shopify Plus Support for over 3 weeks. The only workaround so far is using a private browser. This is greatly affecting our sales as customers can’t shop in a logged in state.
Hi folks - I’ve confirmed with our internal team that the customer.id intermittently empty after customer login issue that @kahn flagged is a separate issue that the one originally flagged here. Our team are investigating resolving this.