Hello,
We’re using Shopify for our school’s parent association website for various things. As such, the site is only for our school’s community and we password protect the site and provide that password in our emails.
When we provide links to specific pages on the site, if the user had not recently accessed our site and provided the password, they are directed to the password page. Upon successful password verification, they are always sent to the home page.
I’ve been trying to find a way to modify the theme code to have it capture the original URL and then redirect to that after the password is provided, but I’m not even sure if it is possible.
I can’t figure out exactly how the site determines that the password is needed that causes it to redirect to the password page. I’m assuming it is at that decision point that I need to capture the original URL and then somehow pass that to the password page so that it can then redirect when it is done.
Can anyone shed some light on whether this is at all technically possible and, if so, how I can go about doing it?
Thanks very much!