Venture theme - Login Redirect to Homepage

Solved
SanaAhmed
Tourist
10 1 1

Hi Team,

Can you please guide me on setting Login redirect to Homepage.

I tried following the steps mentioned in the below link , however it takes me to the collections/all page. 

https://shopify.dev/tutorials/customize-theme-redirect-customers-when-they-log-in

I want customer to see homepage after they login.

Appreciate your advice.

0 Likes
SanaAhmed
Tourist
10 1 1

This is an accepted solution.

Found the solution. Might help someone

  • 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. 

Example:

<input type="hidden" name="checkout_url" value="https://www.myer.com.au" />

  • Click Save.

Note - Leave a single space after pasting the store link. Else it would not work.

Cheers

Sana

0 Likes