Answer the question
In order to leave comments, you need to log in
How to set access rights to items in the sales catalog by property for a group of users?
There is a trade catalog, some elements have the "limited access" property as a list. The value is either not selected or "yes".
How it is possible to implement the differentiation of access rights to elements that have such a property in the "yes" state? Those. so that these products are not displayed on the catalog page if the user does not belong to a group that is allowed to view. It was possible to manually restrict viewing through the admin panel for each specific element, but this is unproductive.
Answer the question
In order to leave comments, you need to log in
Regular access system - no way.
There are two options.
1 Add a filter to the catalog component in which to filter items by this field - if the person is not included in the group, require in the filter that the field is not "yes
" the property has changed - restrict if it becomes "yes" or remove the restriction if it is no longer "yes".
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question