JulienPct Posted October 5, 2021 Share Posted October 5, 2021 Hello, I am creating a sales site, via version 1.7.7.8 of PrestaShop, which has 2 groups, customers and sellers. Knowing that a seller is not automatically a customer and vice versa. I have 2 links on the home page that I would like to redirect to different pages after the customer logs in. Problem: Link the login/registration form to the corresponding registration page (customer or seller) and once the account is created or if the account already exists, after the user logs in, the user is redirected to the correct page. Example: I am using version 8.0.0 of the JA MarketPlace module which allows me to manage the sellers and their products. A user has a link to register / login to his customer account via the ps_customersignin module and another link that currently redirects to the same login page. I would like that when a user logs into their customer account, they are redirected to their account normally, but in the case of a seller logging in, they are redirected to their seller account management page generated by the MarketPlace module. Then, in the case where the user does not have an account, when he clicks to register he must be redirected to the registration form corresponding to his request. As you can see on this screenshot, the "CONNEXION" button comes from the ps_customersignin module and the "Espace inventeur" button is a link from a module I created that redirects to the login page. I tried to be as clear as possible, I'm a beginner in PrestaShop that's why I don't know yet how to express my need. Thanks in advance, Link to comment Share on other sites More sharing options...
JulienPct Posted November 3, 2021 Author Share Posted November 3, 2021 As I don't need it for the V1 of my site, I put this feature on pause but I'll have to get back to it 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