Add this code in hooks for seller structure
function (req, res, next) {
if (req.session.user && req.session.user.isLoggedIn && req.session.user.role == "seller") {
if (res.data && res.data.fields && res.data.fields.length) {
res.data.fields.forEach(function (field) {
if (field.name == 'metafields') {
field.fields.forEach(function (metafield) {
if (metafield.name == 'seller_role') {
metafield.settings["disabled"] = true;
}
})
}
})
}
}
next()
}