We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 671a7cb commit 89a4197Copy full SHA for 89a4197
removeAttributeCategory.php
@@ -11,7 +11,7 @@ public function launch()
11
$categorySetupFactory = $this->_objectManager->create('\Magento\Catalog\Setup\CategorySetupFactory');
12
$categorySetup = $categorySetupFactory->create(['setup' => $setup]);
13
14
- $categorySetup->removeAttribute( \Magento\Catalog\Model\Product::ENTITY, 'extrafee');
+ $categorySetup->removeAttribute( \Magento\Catalog\Model\Category::ENTITY, 'extrafee');
15
16
echo 'Done!';
17
//the method must end with this line
0 commit comments