Jump to content

Multi-store customer login


Recommended Posts

Running 1.6.1.15 bootstrap & multi-store.  Is there a way for a customer to log in to their account and be directed to a specific store? (ie. customer logs into their account and is directed to "shop 2" automatically. No customer input need to change stores.)

Link to comment
Share on other sites

It depends on your needs, do you want to set that up by customer?
If all customers have to be redirected to the same shop, it's as easy as adding a Tools::redirect in the AuthController, otherwise you have to edit the customer class, first, add a new field that specifies the store id, then in the controller grab it, generate the link, and redirect

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...