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 684d946 commit f010928Copy full SHA for f010928
setup/src/Magento/Setup/Fixtures/StoresFixture.php
@@ -88,9 +88,9 @@ public function execute()
88
$parentCategoryId = $defaultParentCategoryId;
89
$categoryPath = '1/' . $defaultParentCategoryId;
90
}
91
+ $category->load($parentCategoryId);
92
- $category->setId($parentCategoryId)
93
- ->setName("Category $storeGroupName")
+ $category->setName("Category $storeGroupName")
94
->setPath($categoryPath)
95
->setLevel(1)
96
->setAvailableSortBy('name')
0 commit comments