Your safety is important to us. If you notice any suspicious emails that appear to come from Shopify, please forward them to safety@shopify.com. Visit the Help Center page on phishing for more information.

Choose which page to show when customers log in to your online store

When a customer visits your online store and logs in to their account, they will see a My Account page that shows their past orders and associated shipping and billing addresses. You can edit your theme so that customers are taken to a different page when they log in, such as the home page, or the catalog page.

My Account

  1. Find the theme you want to edit, click Actions, and then click Edit HTML/CSS.

  2. In the Templates directory, click customers/login.liquid.

  3. Find the following line of code:

    {% form 'customer_login' %}
    

    On a new line below it, paste the following:

    <input type="hidden" name="checkout_url" value="/collections/all" />
    
  4. For the value attribute in the line of code that you just pasted, replace /collections/all with the relative URL of the page that you want customers to see when they log in. A value of /collections/all will take customers to your store's catalog page. A value of / will take customers to you store's home page.

  5. Click Save.

Want to discuss this page?

Visit the Shopify Community