Magento 2 category attribute value returns null
Vendor/Extension/Setup/Patch/Data/CustomAttribute.php <?php namespace VendorExtensionSetupPatchData; use MagentoEavSetupEavSetup; use MagentoEavSetupEavSetupFactory; use MagentoFrameworkSetupModuleDataSetupInterface; use MagentoFrameworkSetupPatchDataPatchInterface; use MagentoCatalogModelCategory; class CreateCustomCategoryAttribute implements DataPatchInterface { private $moduleDataSetup; private $eavSetupFactory; public function __construct(ModuleDataSetupInterface $moduleDataSetup, EavSetupFactory $eavSetupFactory) { $this->moduleDataSetup = $moduleDataSetup; $this->eavSetupFactory = $eavSetupFactory; } /** * {@inheritdoc}… Read More »Magento 2 category attribute value returns null