PF22 Posted July 29, 2019 Share Posted July 29, 2019 Hi there. I am using Prestashop 1.6 and I have a question about the way "private" category can be managed. I set a category only accessible for users that logged in and it works fine. Howere if you are not logged on and want to acces the categry there is a poor message. Quote There is 1 error. You do not have access to this category. PRestashop doesn't allow to show a link to log in, at least ? thanks for any help. Link to comment Share on other sites More sharing options...
PF22 Posted August 2, 2019 Author Share Posted August 2, 2019 up up, thanks. Link to comment Share on other sites More sharing options...
hhennes Posted August 2, 2019 Share Posted August 2, 2019 Hi, The behavior is managed here :https://github.com/PrestaShop/PrestaShop/blob/1.6.1.x/controllers/front/CategoryController.php#L110 It's up to you to override this and redirect the customer to the auth controller instead of displaying this message But nothing can be done directly in configuration. Regards, Link to comment Share on other sites More sharing options...
PF22 Posted August 2, 2019 Author Share Posted August 2, 2019 Too bad that is the only solution and nothing has been thought to parameter that aspect, but thank you @hhennes. Link to comment Share on other sites More sharing options...
topit Posted August 4, 2019 Share Posted August 4, 2019 (edited) Hi, You can contact me to help you develop this requirement. Edited August 4, 2019 by topit (see edit history) 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