1

I want to remove configuration, design, search engine optimization tab. any have idea how it done? enter image description here

1 Answer 1

3

You can hide these tabs ( configuration, design, search engine optimization) by using following code in ui_component xml.

app/code/Namespace/Module/view/adminhtml/ui_component/product_form.xml

<form xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Ui:etc/ui_configuration.xsd">
    <fieldset name="configurable">
     <argument name="data" xsi:type="array">
       <item name="config" xsi:type="array">
         <item name="visible" xsi:type="boolean">false</item>
       </item>
     </argument>
   </fieldset>
   <fieldset name="design">
     <argument name="data" xsi:type="array">
       <item name="config" xsi:type="array">
         <item name="visible" xsi:type="boolean">false</item>
       </item>
     </argument>
   </fieldset>
   <fieldset name="search-engine-optimization">
     <argument name="data" xsi:type="array">
       <item name="config" xsi:type="array">
         <item name="visible" xsi:type="boolean">false</item>
       </item>
     </argument>
   </fieldset>
</form>

There is no fieldset option to remove fieldset tab. You can check here for more details regarding fieldset options.

Cheers !!!

1
  • 1
    My pleasure and good luck to you in your endeavors! You can accept this answer too. Commented Mar 21, 2018 at 7:02

Your Answer

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

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