All things Shopify and commerce
How can I permanently keep customers logged in?
Users need to enter their login password every day. This is unbelievable. We are losing a lot of clients.
@YuliyaP -
When customers log into the store Shopify sets a cookies which expire after 24 hrs. This is the policy of Shopify for security purpose.
But if you want to extend that you need to modify the cookies as per your requirement with JavaScript.
This is name of cookies which is setting up browser once user logged in secure_customer_sig
so with JavaScript you can modify when user hit the login button.
Here is the list of Shopify cookies
How can I extend this for my clients?
This is incredible. No service (amazon, Gmail, Facebook) provides so little time to the client. We have a very strong customer churn. Every third client complains about the need to enter a login password every day. We are really losing a lot of clients
You need to write the JavaScript code for that.
Hi,
I'm having the same issue. We would like to keep our customers logged in until they actually choose to log out. Their log in should not expire.
@miniscript - Have you seen this actually implemented on any shopify store? Can you recommend someone who can do this for me?
Thank you both!
Has there been any solution for this topic? I tried to delete all my cookies from the Shopify store, but I still was logged in afterwards.
Also I couldn't find the so-called Login Cookies "Secure_customer_sig" or "storefront_digest" anywhere so that I could edit them in any way.
Can anybody help me out?
Hi,
Are you sure that the cookie is secure_customer_sig?
because this cookie expire after one year, but _secure_session_id expire after 24 hours.
secure_customer_sig and secure_session_id are both HttpOnly cookies.
Javascript cannot access them.
And they are set by Shopify's servers, but the theme can't do anything about them.
It seems the only way to allow users to be logged in for a longer amount of time, is if an entirely different authentication system was implemented (possibly as an external app).
We recently spoke with Zopi developers @Zopi about how dropshipping businesses can enha...
By JasonH Oct 23, 2024A big shout out to all of the merchants who participated in our AMA with 2H Media: Holi...
By Jacqui Oct 21, 2024We want to take a moment to celebrate the incredible ways you all engage with the Shopi...
By JasonH Oct 15, 2024