Table of Contents
Is it possible to be redirected to a special page upon being logged-in successfully? (Shopify Classic Admin)
Yes, it is.
Go to Themes → Template Editor. Locate the file customers/login.liquid on the left in the Templates section. Click on it to open it in the code editor. Look for this line of code:
{% form 'customer_login' %}
Create a new line just below and add this:
<input type="hidden" name="checkout_url" value="/pages/special-page" />
As value, type in the URL of the page where you want your customer to land once logged-in successfully.
Save.
Is it possible to be redirected to a special page upon being logged-in successfully? (Shopify Admin 2)
Yes, it is.
Login to your shop admin and go to the Themes. You will be redirected to your shop. In the Theme sidebar, click the Theme Editor button. You will be taken to the Theme Editor page.
In the Theme Editor, locate the file customers/login.liquid on the left in the Templates section.
If the file does not exist, click the "Add a new template" link. In the "Create a new template for" drop down menu, select customers/login. Click Create template.
In the Theme Editor sidebar, click on customer/login.liquid to open it in the code editor. Look for this line of code:
{% form 'customer_login' %}
Create a new line just below and add this:
<input type="hidden" name="checkout_url" value="/pages/special-page" />
As value, type in the URL of the page where you want your customer to land once logged-in successfully.
Click Save.
