diff --git a/vendor/magento/module-catalog-import-export/Model/Export/Product.php b/vendor/magento/module-catalog-import-export/Model/Export/Product.php index 4a2ca0b4ec5..42329cb7c55 100644 --- a/vendor/magento/module-catalog-import-export/Model/Export/Product.php +++ b/vendor/magento/module-catalog-import-export/Model/Export/Product.php @@ -448,6 +448,7 @@ class Product extends \Magento\ImportExport\Model\Export\Entity\AbstractEntity { $collection = $this->_categoryColFactory->create()->addNameToResult(); /* @var $collection \Magento\Catalog\Model\ResourceModel\Category\Collection */ + $collection->setStoreId(\Magento\Store\Model\Store::DEFAULT_STORE_ID); foreach ($collection as $category) { $structure = preg_split('#/+#', $category->getPath()); $pathSize = count($structure);