Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A store owner can choose categories in which vendors can place their products. #7242

Open
AndreiMaz opened this issue Jun 19, 2024 · 0 comments

Comments

@AndreiMaz
Copy link
Member

Let's add a new boolean property to the "Category" entity that will manage whether a vendor can add products to this category. Its name will be "Restrict from vendors". The hint will be "Check to restrict vendors from adding products to this category. This option is useful when you have multi-vendors enabled in your store". The default value will be "false" (so any vendor can add products to this category)

So once enabled vendors won't see this category on the "Add product" or "Edit product" pages in admin area. Also do not forget to add appropriate validation login to the server-side when saving products submitted by vendors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants