Hi Vladimir, we have a role (Sales Manager) who needs ability to update product stock quantities, but not other product data. So that role must have edit_products capability but I’m hiding most things.
Now I need to completely hide the main content editor when this role is on product edit page. Then they will only see the Product Data metabox (I’ll use your post here too).
We use Visual Composer for all product content. Only Admin can edit content so I have successfully hidden VC from all roles except Admin. But when Sales Manager goes to product edit screen, the content will still display in default WP Visual/Text content editor.
I saw your post about Removing main text editor … however I would like to only hide it for specified role(s). Can you please help?