As the question states, im simply trying to hide the "Search Engine Optimization" enter image description here from the admin panel, how would I do that? Im not sure whether there's somewhere where id be able to place


to make it disappear or is there some other way, I've deduced that it comes from the module "module-downloadable" but I cant seem to understand how its rendered or how to hide it.


1 Answer 1


I wrote this in the di.xml to override this segment

<?xml version="1.0" encoding="UTF-8"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
    <virtualType name="Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\Pool">
            <argument name="modifiers" xsi:type="array">
                <item name="product_form_eav" xsi:type="array">
                    <item name="class" xsi:type="string">Test\Module\Ui\DataProvider\Product\Form\Modifier\Eav</item>
                    <item name="sortOrder" xsi:type="number">2000</item>

And then created the Eav.php file and changed the "modifyMeta" function like so

 public function modifyMeta(array $meta)
        $productType = $this->getProductType();
        if ($productType === Type::TYPE_SIMPLE) {
            $disabledGroups = [
        foreach ($disabledGroups as $disabledGroup) {

    return $meta;

and I got the names of the segments I needed to remove from the inspect element next to the "data-index" attribute enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.