how to enable/disable custom attribute showing on product page
I created an attribute switch, but how do I get it to work? Also I created an attribute – which I want enable/disable <?php namespace ivanProductAtrrSetupPatchData; use MagentoCatalogModelProduct; use MagentoCatalogSetupCategorySetup; use MagentoEavModelEntityAttributeScopedAttributeInterface; use MagentoFrameworkSetupPatchDataPatchInterface; use MagentoFrameworkSetupModuleDataSetupInterface; use MagentoCatalogSetupCategorySetupFactory; class AddProductAtrrEnableAttribute… Read More »how to enable/disable custom attribute showing on product page