Redirect after login using the recently added B2B/"New customer accounts" feature

Redirect after login using the recently added B2B/"New customer accounts" feature

jdmwood
Shopify Partner
2 0 5

We're experimenting with the new magic-link based customer accounts login feature (the one described here https://help.shopify.com/en/manual/b2b/b2b-customers#customer-accounts under "New customer accounts").

 

My question is, is there a way to redirect the users back to a specific page after login?

With the new flow, after logging in, customers end up at a page on the new B2B login portal (e.g. `xxx.account.myshopify.com` )

 

Screenshot 2022-06-29 at 13.10.12.png

 

There is a big blue button which allows them to go back to the store.

 

1) Is there a way to customize where that button redirects to on the store?

2) Or, even better, is there a way to have a login flow which redirects directly to the store at a particular URL after logging in through the new flow? i.e. skip the new `xxx.account.myshopify.com` page entirely and go to a store page of our choice?

Replies 5 (5)

abhishek_jain2
Shopify Partner
1 0 2

I'm also stucked in the same issue, anyone can help.

Adam_e
Shopify Partner
2 0 3

A redirect for "New Customer Accounts" after login would be very helpful. Seems like this would be a  priority since the current UX makes the assumption that you have already purchased. That is not the case oftentimes.

 

Providing a redirect would allow a business to offer identity-based product marketing to help the customer make their purchasing decision. That would help boost store sales.

Jill_Kanto
Tourist
12 0 1

Have you found a solution to this? I'm trying to accomplish your second option - an automatic redirect.

ArchitechproOU
Shopify Partner
104 2 17

+1 – option to provide `redirect_url` would be super helpful

Rachelina
Shopify Partner
3 0 1

+1 option to provide `redirect_url` would be super helpful 🙂