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 54f4802 commit 144ea18Copy full SHA for 144ea18
app/code/Magento/Store/Model/Config/Importer/Processor/Create.php
@@ -177,7 +177,10 @@ private function createGroups(array $items, array $data)
177
);
178
179
$group = $this->groupFactory->create();
180
- $group->setRootCategoryId(0);
+ if (!isset($groupData['root_categry_id'])) {
181
+ $groupData['root_categry_id'] = 0;
182
+ }
183
+
184
$group->setData($groupData);
185
186
$group->getResource()->save($group);
0 commit comments