Hey guys, I'm looking to drastically extend the time my customers are kept logged in as the default 24 hours just seems crazy short in this day and age. My store uses Shopify Multipass - we have our own custom login form/backend logic that logs the customer in via Multipass behind the scenes.
Please let me know if you need more details about the issue, and thanks for all your help/suggestions.
Did you ever figure out how to keep customers logged in. (kind of like amazon lets customers remain logged in on all their devices)
Please let me know.
The answer is not really but maybe. So, I had my team in India develop a custom persistent cart functionality. And one of the unintended consequences of that seemed to be - that the user remains logged in. At least, I remain logged in on my computer for a few days, I noticed. From what I hear the Shopify cookie resets every 24 hours, so customers will need to re-login after a 24 period passes. With me I'm logged in for days at a time. I'm not sure what the maximum log in time would be and haven't tested this with other users. Just something I notice when testing my site on my own computer. I can probably have more specific info in about a month or so as we're going through testing and our site isn't live yet.
The Multipass cookie that expires in 24 hours is _secure_session_id. You won't be able to overwrite a cookie set by Shopify's domain because of same-origin policy restrictions. Instead you would need to look for the cookie, and if it isn't there (expired) you would re-initiate the multipass flow.
Make the shift from discounts to donations, and witness your business not only thrive fina...By Holly Dec 4, 2023
On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...By Arno Nov 27, 2023