I want to create page with some disocunts for example and only those who have account to see that page. I want when someone sign up or login to their account instead to be redirected to other page instantly, something like a vip lounge
thank you, I would also like the account icon in the right upper section also to redirects to the page when I click on it, and also to put a name next left of the icon, the name of the page to be here
can you tell me what code to put so I can make a page in the header to be connected with the customer login, or just to add name next to the account icon so to look like it is a tab of that page
Hi @Jasoliya - do you know how to implement your solution for whatever the previous/referring page was (instead of one specific URL)? For instance, we have password-protected collection pages that require login that we’d like to automatically redirect the user back to after they log in. Appreciate your help!
Hi @Jasoliya - thanks for the response! When a user tries to access our password-protected collection page, we include some verbiage telling them to click a link to log in to their account (which takes them to a new page). So, your solution of a return URL would be ideal. Is there a simple way to implement that (similar to the solution you previously provided using
We have several different wholesalers, so we can’t have a static URL in our customers/register.liquid or customers/login.liquid code. Instead, we need a dynamic return URL.
like you have to pass query string in login link and then when user go to loging page you have to check this query string and pass return_to field in login for so it will back to that page