Todor Inchovski Posted February 13, 2019 Share Posted February 13, 2019 I have to make my presta 1.7.4.4 so that if you are not logged in, you see just logo and login button or something. I managed to do that, but it works only for the home page. I want to know if there is a way to do that for the entire site and not to edit each tpl individually. Link to comment Share on other sites More sharing options...
JBW Posted February 13, 2019 Share Posted February 13, 2019 Think this is only possible by an module Link to comment Share on other sites More sharing options...
Todor Inchovski Posted February 13, 2019 Author Share Posted February 13, 2019 It's interesting how I can disable non-logged users to see the home page from the back office, but any other page is not available for editing. Link to comment Share on other sites More sharing options...
Simonas Invertus Posted February 18, 2019 Share Posted February 18, 2019 The easiest way is to buy Private shop module there are too many of them. However if you go to Shop parameters -> Customer settings and choose "Groups" tab. There are by default three groups that can have different visibility. If you choose "Visitors" group and disable everything it should work similar to what you want to achieve. 1 Link to comment Share on other sites More sharing options...
Todor Inchovski Posted February 19, 2019 Author Share Posted February 19, 2019 Thank you for the answer. I figured it out and it works as I want it to - with js redirection. I check if the user is logged in and if he isn't then he is redirected to the login page, wherever he is. If he is logged in, then he is sent to the product page. Link to comment Share on other sites More sharing options...
c64girl Posted August 2, 2024 Share Posted August 2, 2024 You can change one file 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