Support Center

You are looking at the old Shopify support page. Please visit our new support site instead for most up to date information.

Is it possible to be redirected to a special page upon being logged-in successfully?

Last Updated: Oct 26, 2012 02:25PM EDT

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.

Contact Us

  • North America:
    1 888 746 7439
    United Kingdom:
    0800 808 5233
    Australia:
    03 8400 4750
    New Zealand:
    07 788 6026