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.
Hey @TechSquid - thanks for reaching out. I’ve been able to connect with some folks internally about this cross-domain session behaviour, as like you mentioned, it does seem odd.
@Ayush - could you share any example shop URLs where you’re seeing this happen (and just confirm if the issue is happening on the live theme so we can replicate)? Having specific examples would really help us dig deeper into what’s going on here, hope to hear from you soon - we’ll get this looked at