Setting default attribute_set_id via form modifier
I am currently able to hide, disable or set default values for fields on product creation form via the following: etc/adminhtml/di.xml: <?xml version=”1.0″?> <config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:ObjectManager/etc/config.xsd”> <virtualType name=”MagentoCatalogUiDataProviderProductFormModifierPool”> <arguments> <argument name=”modifiers” xsi:type=”array”> <item name=”testAttribute” xsi:type=”array”> <item name=”class” xsi:type=”string”>MypackageCustomUiDataProviderProductFormModifierAttributes</item> <item name=”sortOrder”… Read More »Setting default attribute_set_id via form modifier