Try Shopify for free, and explore all the tools and services you need to start, run, and grow your business.

Redirect customer account after login to home page or collection page.

Every time whenever user login to shopify store they will see there account info like order history or address information.

You cant edit this and redirect to home or collection page.


Step 1:

Login to your shopify admin panel

Step 2 :

Go to theme and edit your code under

Template  directory >>customers/login.liquid

Step 3:

Find following code

{% form 'customer_login' %}

Step 4:

Put

<input type="hidden" name="checkout_url" value="/collections/all" /> 

this code after 

{% form 'customer_login' %}

and Save it

Note : To change redirecting page change value of input type.

like - for home page :

value="/"

for all product :

value="/collections/all" /



Try Shopify for free, and explore all the tools and services you need to start, run, and grow your business.

Redirect customer account after login to home page or collection page. Redirect customer account after login to home page or collection page. Reviewed by Navjeet Singh on June 06, 2018 Rating: 5

No comments:

Powered by Blogger.