I’m facing an issue where logged-in customer details become unavailable in the online store theme after 24 hours, despite the customer remaining logged in with the new customer accounts feature. Below are the details to help diagnose and resolve this issue.
When a customer logs in using the new customer accounts system, their details (e.g., customer.email, customer.name) are initially accessible in the theme’s Liquid code. However, after approximately 24 hours, these details become unavailable
Hey @Ayush - I believe this may be expected behaviour, but I’ll dig into this further for you to confirm and loop back here once I have more info - speak with you soon!
@Alan_G - As you mentioned on this other thread, because the customer account is handled on another domain, it doesn’t appear to be available on the main storefront domain after the initial cookies disappear.
This feels very clearly to be a bug, as the user is effectively ‘logged out’ on the storefront and ‘logged in’ on the account pages.