maniac180 Posted August 11, 2017 Share Posted August 11, 2017 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 More sharing options...
NemoPS Posted August 12, 2017 Share Posted August 12, 2017 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 More sharing options...
maniac180 Posted August 12, 2017 Author Share Posted August 12, 2017 Yes, I'd like to set that up per customers. Currently, only 5 customers. Each customer needs to be directed to a different store due to different pricing per customer. Link to comment Share on other sites More sharing options...
NemoPS Posted August 14, 2017 Share Posted August 14, 2017 Then I would say you should extend the customer class as mentioned above. Add a new field like $shop_id_redirect and grab it later in the authcontroller 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now