Redirect to Login page after clicking to Add to Cart button
When client clicks on Add to Cart, he or she will be automatically redirect to the Login Page.
for Page redirection i got this Tools::redirect('index.php?controller=authentication?back=my-account');
But i'm searching to past this code in some controller please help me out or is there any solutions is there in prestashop