1 mês atrás
Hello, I would like to create a plugin that would enable or disable the product registration fields according to the logged in user profile.

For example, a seller can register a product but cannot change the stock. My plugin would enable or disable this option.

Is this possible? If yes where would I start?

I'm a novice developer.

1 mês atrás
Yes it is possible
Have a look at the functionality for Vendors
There are already some fields when Editing a Product where access is limited for the Vendor Role