s@grawal Posted October 27, 2017 Share Posted October 27, 2017 I am new at prestashop1.6.1.13. I want to redirect contact us link at header to the sign-in link if user has not signed up or has created an account.How should I proceed?Please help,I am running commerce site for books. Link to comment Share on other sites More sharing options...
gonebdg - webindoshop.com Posted October 30, 2017 Share Posted October 30, 2017 override controller file ContactController.php as follow : class ContactController extends ContactControllerCore { public $auth = true; } that will cause all unlogged in customers who trying to visit Contact Page will redirect to Login Page Link to comment Share on other sites More sharing options...
s@grawal Posted October 30, 2017 Author Share Posted October 30, 2017 Okay,I will try that. For a temporary solution,I hid the contact us link from the header for logged out customers.now I want to bring it back.I don't remember,how I did it..Can you help?? i have attached ss.if a customer is not logged in ,page does not sow contact us. But I want to revert it.?? Link to comment Share on other sites More sharing options...
gonebdg - webindoshop.com Posted October 30, 2017 Share Posted October 30, 2017 check file : ../themes/default-bootstrap/modules/blockcms/blockcms.tpl around line 100 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