Jump to content

[ Résolu ] - A La Connexion, Redirection Sur La Page Index Plutôt Que Sur La Page "mon Compte"


Recommended Posts

Dans Prestashop 1.5, pour rediriger les utilisateurs après connexion, il faut soit ajouter à ton formulaire de connexion un

 

<input type="hidden" name="back" value="TON-URL" />

 

Soit faire un override de la fonction processSubmitLogin() ligne 318, remplacer

 

Tools::redirect('index.php?controller=my-account');

 

par l'URL de ton choix.

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...