cancel
Showing results for 
Search instead for 
Did you mean: 

How to redirect to a particular store according to authentication result in single website magento 2

How to redirect to a particular store according to authentication result in single website magento 2

 

I have created multiple stores for a single website.. now i need a new login mechanism which authenticate users with their id along with vendor name & redirect that user to appropriate store in website. How to achieve this in Magento 2.3.1?

Note: I have different stores for different vendors. Users that belong to particular vendor can access his store. Also i have to connect vendors to users somehow.

1 REPLY 1

Re: How to redirect to a particular store according to authentication result in single website magen

If you're using a multistore, there are some extensions that may help with this. For instance: https://marketplace.magento.com/itoris-store-login-control.html

 

As I understand it, this extension will allow you to limit access of a "store" to specific shoppers. When they log in, this extension will allow you to redirect them to the specific store.

 

Depending on the circumstance, you might also consider turning the site into a multi-vendor Marketplace. This is not a standard Magento feature, but there are several Magento extensions that you can look at: https://marketplace.magento.com/catalogsearch/result/?q=custom%20login%20redirect#q=marketplace&idx=...

 

Best of luck!