I’m working on a store and though I’m logged in, I can’t access the customer object in any way. The theme has an account button, which goes straight to the Shopify domain to show orders, and it shows my email and the address I used, so I know I’m logged in. But I can’t get anything to come up on the console or any page when trying to show things like {{ customer.id }} or {{ customer.email }}.
Topic summary
A developer is experiencing issues accessing the customer object in Liquid despite being logged in to a Shopify store.
Key Details:
- The theme’s account button redirects to the Shopify domain to display orders
- Attempts to display customer data using Liquid syntax like
{{ customer.id }}or{{ customer.email }}return nothing - The developer confirms they are logged in, as the system recognizes their email and address
- No output appears in the console or on any page when trying to access customer object properties
Status: The issue remains unresolved with no responses yet. The developer needs help understanding why the customer object is inaccessible in their Liquid templates.
1 Like