Customer liquid object always null with new customer account settings

I developped a theme app extension that strongly relied on customer liquid object.
However, since my merchants upgraded their store to new customer accounts, the customer liquid object always returns null, even if the customer is logged in.
Is there any object I can access to replace this functionality?

Hey there ! Actually, its not null, its just that the customer object access doesn’t work in local. Use the shared preview link (looks like “https://store.myshopify.com/?preview_theme_id=123456789”) that is generated when running shopify theme dev in your terminal to fix it (you won’t have the hot reload however).

Hi @Infalodon , I also have some theme code which displays content depending on the customer.id … this is also broken as of a couple of days ago for me (customer is always null). But I have always used new customer accounts, so I suppose it’s some other change to do with the latest Shopify update? Did you get this solved?

Greetings, Philip

We’re experiencing the same issue with the new customer accounts and the Liquid customer object. We tested it using the preview URL, added the theme directly in Shopify, and even tried duplicating the theme, but the problem persists across all attempts.

We are also experiencing the same with the new accounts and frontend code. {{ customer }} isn’t returning anything when logged in with the new accounts, legacy accounts works good as gold. Only fix we could find is using Legacy accounts.