arog Posted January 28, 2022 Share Posted January 28, 2022 (edited) Hello I'm looking to create a function who will determine is a user can access the product page is he asking or not. Which core function in product class should I override ? Thanks Edited January 28, 2022 by arog fixed (see edit history) Link to comment Share on other sites More sharing options...
arog Posted January 28, 2022 Author Share Posted January 28, 2022 Found: Override the checkAccessStatic function in Product class Return NULL; when the user is not allowed. 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