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