We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3618bc commit d35972fCopy full SHA for d35972f
Model/Export/Categories.php
@@ -44,7 +44,7 @@ public function execute(int $storeId, array $attributes): array
44
/** @var Category $category */
45
foreach ($collection->getItems() as $category) {
46
$row = $this->utils->sanitizeData($category->toArray($attributes));
47
- $row['store'] = $this->storeManager->getStore($category->getStoreId())->getCode();
+ $row['store'] = $this->storeManager->getStore($storeId)->getCode();
48
$row['parent_code'] = $category->getParentCategory()->getData('category_code');
49
$export[] = $row;
50
}
0 commit comments